C Interview Questions
Questions Answers Views Company eMail

What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }

Amazon, Qualcomm,

5 14457

what is the definition of storage classes?

Wipro,

3 5310

write a program to compare 2 numbers without using logical operators?

IBM,

5 13480




what is self refrential structure

HCL,

3 4184

what is available in C language but not in C++?

CTS, TCS,

10 8904

What is volatile in c language?

HCL, TCS,

2 3325

wt is d full form of c

TCS, Wipro,

6 5790

what is the maximum limit of row and column of a matrix in c programming. in linux .

NIIT,

4 4750




write a c program to print the values in words eg:- 143 written it has (one hundred and forty three)& 104, 114 are also written words

Wipro, IBM, DELL, Google, Captronic, RCC, Mithi,

5 10427

who is first prime minister in india??

Wipro,

8 4309

how to find the largest element of array without using relational operater?

Satyam, Wipro,

6 8691

WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include #include void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }

25 10009

What are the different flags in C? And how they are useful? And give example for each in different consequences?

1 2066

What is Lazy evaluation in C? Give an example.

1 2674

What is indirect recursion? give an example?

4 24752


Post New C Questions






Un-Answered Questions { C }

what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

647


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

664


how to make a scientific calculater ?

717


Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.

718


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

700






using for loop sum 2 number of any 4 digit number in c language

842


How to draw the flowchart for structure programs?

6347


can any one tel me wt is the question pattern for NIC exam

812


what is bit rate & baud rate? plz give wave forms

737


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

826


c language interview questions & answer

682


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

2817


if p is a string contained in a string?

657


code for quick sort?

779


How do we make a global variable accessible across files? Explain the extern keyword?

653