If I have a char * variable pointing to the name of a function ..
No Answer is Posted For this Question
Be the First to Post Answer
Explain null pointer.
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
Question 1: You want to conduct a survey within your classroom, on the quality of canteen’s food. You ask each of your class fellows to rank the quality of food between 1 and 5 (1 representing excellent quality and 5 representing worst quality). During the survey, you make a list containing the roll# of student and the opinion given by that student. The list can be as follow Roll # Opinion 234 1 235 1 236 5 237 1 238 2 239 3 240 5 241 5 242 1 To get the results of the survey, you need to determine the frequency of each opinion value. The frequency of an opinion is determined by counting the number of students giving that opinion. For example, for the above list the frequency of opinion value 1 is 4 and frequency of opinion value 4 is 0. After getting the frequency of each opinion, you can easily judge about the quality of the food by seeing through the frequency of each opinion. You need to develop a program to calculate the results of this survey. The program inputs the opinion of 50 students and counts the frequency of each opinion. It then displays a report showing the frequency of each opinion. Sample output: Opinion Frequency Remarks 1 5 Excellent 2 10 Good 3 15 Normal 4 10 Bad 5 10 Really bad
What is a function simple definition?
Explain what are reserved words?
write a program in c to find out the sum of digits of a number.but here is a condition that compiler sums the value from left to right....not right to left..
With the help of using classes, write a program to add two numbers.
write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.
main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
two variables are added answer is stored on not for third variable how it is possible?
Write a program to find given number is even or odd without using any control statement.