C Interview Questions
Questions Answers Views Company eMail

which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none


7 10067

what is disadvantage of pointer in C

Tech Mahindra,

13 18445



4 9769

which one is highest Priority in c? a)=,b)+,c)++,d)==

4 2965

which one low Priority in c? a)=,b)++,c)==,d)+

10 3745

What are data breakpoints?


3 6199

What are bit fields? What is their use?


2 3986

Write code for atoi(x) where x is hexadecimal string.


5 21718

Write code for finding depth of tree


2 3518

Two's compliment of -5


4 5407

CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.


9 6158

what's the return value of malloc()

9 8916

I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...


What are the average number of comparisons required to sort 3 elements?


2 4490

Is it possible to run a c program without using main?If yes HOW??


13 10406

Post New C Questions

Un-Answered Questions { C }

How to draw the flowchart for structure programs?


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)


about c language


Give basis knowledge of web designing ...


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.


Which is the memory area not included in C program? give the reason


#include { printf("Hello"); } how compile time affects when we add additional header file .


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..


how do you programme Carrier Sense Multiple Access


Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers


what is a function method?give example?


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record


write a program in c language to print your bio-data on the screen by using functions.