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

C Interview Questions

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

HCL,

14701

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

HCL, Octal, SW,

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,

4502

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

26246

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

31215

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

27590

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

20486

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

5876

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

9393

In scanf h is used for

BFL,

9682

what does " calloc" do?

8782

what does exit() do?

7250

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

10967

prototype of sine function.

6021

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

12030

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