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

C Interview Questions

create an SINGLE LINKED LISTS and reverse the data in the lists completely

3622

hi , please send me NIC written test papers to sbabavalli@gmail.com

NIC,

1097

Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com

1002

how to print value of e(exp1)up to required no of digits after decimal?

2357

writw a program to insert an element in the begning of a doubly linked list

3222

main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); }

TCS,

5304

main() {int a=200*200/100; printf("%d",a); }

TCS,

8899

main() { float a=3.2e40; printf("%d",a); }

6208

write program on arrays

3602

HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER

4234

can we print any string without using terminator?

5934

#include int fun(); int i; int main() { while(i) { fun(); main(); } printf("hello \n"); return 0; } int fun() { printf("hi"); } answer is hello.how??wat is tat while(i) mean?

11699

wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain

TCS,

8580

void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..

2600

void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i

TCS,

3537

what is the height of tree if leaf node is at level 3. please explain

1130

What are header files in c programming?

202

How macro execution is faster than function ?

173

2239

How do we print only part of a string in c?

125

How can I access an I o board directly?

156

Here is a neat trick for checking whether two strings are equal

155

What is the acronym for ansi?

162

What are preprocessor directives in c?

171

Differentiate between the expression “++a” and “a++”?

172

What is unary operator?

184

‎How to define structures? · ‎

134

Differentiate between #include<...> and #include '...'

162

What is scope of variable in c?

112

What is the significance of an algorithm to C programming?

161