| Other C Interview Questions |
|| Asked @
|The differences between Windows XP and Windows Visa
|program to locate string with in a string with using strstr
|compute the nth mumber in the fibonacci sequence?
|WAP TO ACCEPT STRING AND COUNT A COMES N TIMES B COMES N
TIMES C COMES N TIMES D COMES N TIMES AND SO ON.........
AT LAST UNTIL Z COMES N TIMES...............
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
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.
Opinion Frequency Remarks
1 5 Excellent
2 10 Good
3 15 Normal
4 10 Bad
5 10 Really bad
|how to return 1000 variables from functio9n in c?plz give me
|write a c program to add two integer numbers without using
arithmetic operator +
|Write a program to compute the following
|write a Program to dispaly upto 100 prime numbers(without
|In C program, at end of the program we will give as "return 0"
and "return 1", what they indicate? Is it mandatory to specify
|how to generate the length of a string without using len
|Q. where is the below variables stored ?
- volatile, static, register
|For more C Interview Questions Click Here |