C Interview Questions
Questions Answers Views Company eMail

In which area global, external variables are stored?

3 4523

what is inline function?

2 2636

why program counter is 16 bit?

3 2911




void main() { int a=1; printf("%d %d %d",a,++a,a++); } the output is supposed to be 1 2 2....but it is 3 3 1 this is due to calling conventions of C. if anyone can explain me how it happens?

7 15165

can we define a function in structure?

2 3636

can we declare a function in side the structure?

HCL,

2 2248

can we initialize all the members of union?

2 4654

what is the structure pointer?

Accenture, HCL,

889




where do we use volatile keyword?

1 2253

Find greatest of two numbers using macro

Siemens, Bosch,

4 28256

what will be the output of this program........ main() { int a=2,b=4,c=6; printf("%d"); } why it gives the value of third variable.

HCL,

6 3259

increment operateor (++)and decrament(--) #include #inclide main() { int x=15; while(x!=0) scanf("%d",&x); {

Syntel, HCL, TCS,

2 2849

Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.

2 8249

Develop a flow chart and write a c program to find the roots of a quadratic equation ax2+bx+c=0 using switch and break statement.

TCS,

1 9474

Can you write the algorithm for Queue?

TCS, College School Exams Tests,

771


Post New C Questions






Un-Answered Questions { C }

write a c program in such a way that if we enter the today date the output should be next day's date.

890


simple program of graphics and their output display

678


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

2844


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

811


a c code by using memory allocation for add ,multiply of sprase matrixes

1384






how can use subset in c program and give more example

701


why wipro wase

1017


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

741


can anyone suggest some site name..where i can get some good data structure puzzles???

865


praagnovation

746


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

897


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2404


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1097


can any one provide me the notes of data structure for ignou cs-62 paper

936


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1074