Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

Trident,

7 13636

what is disadvantage of pointer in C

Tech Mahindra,

13 20648

ABCDCBA ABC CBA AB BA A A

TCS,

4 13119

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

4 3620

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

10 5353

What are data breakpoints?

Adobe,

3 6800

What are bit fields? What is their use?

Adobe,

2 4551

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

Adobe,

5 23030

Write code for finding depth of tree

Adobe,

2 4109

Two's compliment of -5

Adobe,

4 6297

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

Adobe,

9 7525

what's the return value of malloc()

9 10400

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...

9062

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

DRDO,

2 5020

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

Wipro,

13 12157


Post New C Questions






Un-Answered Questions { C }

What are the types of data types and explain?

180


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

1840


How many types of operator or there in c?

159


Can a variable be both constant and volatile?

97


What functions are used in dynamic memory allocation in c?

157






Explain what is the purpose of "extern" keyword in a function declaration?

158


Tell us something about keyword 'auto'.

169


How many types of operators are there in c?

139


How can I write a function that takes a format string and a variable number of arguments?

144


What is a void pointer in c?

140


What is the difference between printf and scanf in c?

129


what is event driven software and what is procedural driven software?

1547


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

199


Write a program to show the change in position of a cursor using c

140


Tell us two differences between new () and malloc ()?

162