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

i=20,k=0; for(j=1;j

HCL,

8 14701

int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i);

HCL, Octal, SW,

6 15565

f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error

HCL,

4 4502

which of the function operator cannot be over loaded a) <= b)?: c)== d)*

Cisco, CTS, Google, HCL, HP,

10 26246

long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

Acropolis, HCL, Intel, TCS,

18 31215

x=2,y=6,z=6 x=y==z; printf(%d",x)

Bharat, Cisco, HCL, TCS,

13 27590

int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output?

Verifone,

14 20486

proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?

Hughes,

7 5876

int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]

Hughes,

6 9393

In scanf h is used for

BFL,

4 9682

what does " calloc" do?

Cadence, Logos,

7 8782

what does exit() do?

Cadence,

3 7250

what is the value of 'i'? i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")

Cadence, JNTU, Zen Technologies,

7 10967

prototype of sine function.

Cadence,

2 6021

#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}

3 12030


Post New C Questions






Un-Answered Questions { C }

Explain what is the stack?

151


Why functions are used in c?

111


Why do we use int main?

132


What is c system32 taskhostw exe?

112


What is time null in c?

133






Difference between exit() and _exit() function?

154


Explain how can you restore a redirected standard stream?

149


What is c language in simple words?

124


Do you know what are the properties of union in c?

149


Which are low level languages?

123


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

1259


Explain bitwise shift operators?

147


how to build a exercise findig min number of e heap with list imlemented?

1064


Can stdout be forced to print somewhere other than the screen?

157


What is line in c preprocessor?

152