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

C Interview Questions

void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?

1904

void main() { //char ch; unsigned char ch; clrscr(); for(ch =0;ch<= 127; ch++) printf(" %c= %d \t ", ch, ch); } output?

4245

#include int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?

2986

main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }

1175

i have a written test in tomorrow

3286

Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

CLG,

1102

Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

3933

what is software?

4640

x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????

2732

write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a 1016

Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

4083

Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

HP,

1290

WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

HP,

1427

WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

IBM,

2236

int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?

TCS,

7564

What is abstract data structure in c?

140

Is array name a pointer?

169

What does the format %10.2 mean when included in a printf statement?

299

What does it mean when the linker says that _end is undefined?

178

How does pointer work in c?

150

typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

232

Explain how do you search data in a data file using random access method?

204

Define Array of pointers.

195

What are the rules for identifiers in c?

160

What is the difference between typedef and #define?

147

hi send me sample aptitude papers of cts?

1233

Under what circumstances does a name clash occur?

224

Why void main is used in c?

149

which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

365

Explain how can I avoid the abort, retry, fail messages?

172