C Interview Questions
Questions Answers Views Company eMail

can we store values and addresses in the same array? explain

TCS,

3 10951

what is the difference between NULL('\0') and 0?

Microsoft,

14 17326

IS it possible to define a zero sized array in c.if it is possible how can the elements of that array can be accessed.array index starts from zero,if it is possible to define zero sized array how can be its first element can be accesseed.

TCS,

5 6594

what is function pointer?

Wipro,

2 4735

write a c program to convert fahrenheit to celsius?

TCS,

4 12212

There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.

3243

Write a program to print distinct words in an input along with their count in input in decreasing order of their count

2112

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

2991

Program to simulate second clock

2 3350

to convert a string without using decrement operater and string functions

1 2981

main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }

6 10827

What is the difference between i++ and i+1 ?(in terms of memory)

HCL,

3 11413

Difference between for loop and while loop?

1 4089

1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

1 2763

1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

3 3356


Post New C Questions

Un-Answered Questions { C }

What is the difference between array and structure in c?

662


What does s c mean in text?

709


write a progrmm in c language take user interface generate table using for loop?

1665


Explain what’s a signal? Explain what do I use signals for?

686


What is boolean in c?

709






what is the structure pointer?

1726


If errno contains a nonzero number, is there an error?

911


Explain logical errors? Compare with syntax errors.

717


Is c high or low level?

676


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

764


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1406


What is the difference between single charater constant and string constant?

729


What is the difference between a string and an array?

796


Tell me when would you use a pointer to a function?

703


What is c definition?

837