C Interview Questions
Questions Answers Views Company eMail

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

3 4624

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

NIC,

1496

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

1420

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

1 2989

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

1 3817

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

TCS,

9 7796

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

TCS,

14 12951

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

Satyam,

9 8973

write program on arrays

GE, Polycab,

3 4934

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

4 5527

can we print any string without using terminator?

Infosys, TCS,

2 6856

#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?

Intel,

7 16779

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,

3 10090

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

1 6285

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,

2 4585


Post New C Questions

Un-Answered Questions { C }

Implement bit Array in C.

641


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

711


What is the data segment that is followed by c?

586


Why is c used in embedded systems?

582


Why does this code crash?

593






What are the standard predefined macros?

602


What are pointers? What are stacks and queues?

557


What is meant by initialization and how we initialize a variable?

564


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

1876


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

574


What is use of integral promotions in c?

633


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

890


What are enumerated types?

629


What is the code in while loop that returns the output of given code?

1242


Why main is not a keyword in c?

620