| Other C Interview Questions |
|| Asked @
|Fifty minutes ago if it was four times as many mints past 3
o clock. how many minutes is it to six o'clock n how....?????
|Write a program to find the smallest and largest element in
a given array in c language
If this proc() is called second time, what is the output?
|You have an int array with n elements and a structure with
three int members.
unsigned int no1;
unsigned int no2;
unsigned int no3;
Point1.Lets say 1 byte in the array element is represented
like this - 1st 3 bits from LSB is one number, next 2 bits
are 2nd no and last 3 bits are 3rd no.
Now write a function, struct No* ExtractNos(unsigned int *,
which extracts each byte from array and converts LSByte in
the order mentioned in point1.and save it the structure
no1, no2, no3.
in the function struct No* ExtractNos(unsigned int *, int
count), first parameter points to the base address of array
and second parameter says the no of
elements in the array.
For example: if your array LSB is Hex F7 then result no1 =
7, no2 = 2, no3 = 7. In the same way convert all the
elements from the array and save the result in array of
|what is volatile in c language?
|in a town the percentage of men is 52 the percentage of
total literacy is 48 if total percentage of literate men is
35 of the total population write a program to find the
total no of the literate men and women if the population of
the town is 80000
|Average of a couple 10 years ago was 25. The average
remains same after having a child and twins after 3 years.
What is the present age of the first child
|What is an object?
|from which concept of 'c', the static member function
of 'c++' has came?
|How can I prevent other programmers from violating
encapsulation by seeing the private parts of my class?
|Write a program to produce the following output:
|Write a C program to check a number even or odd, without using
any relational, arithmetic operator and any loops.
|For more C Interview Questions Click Here |