C Interview Questions
Questions Answers Views Company eMail

what is the difference between #include and #include "stdio.h" ?

3 7688

Why preprocessor should come before source code?

2 3654

What is a far pointer?What is the utility?

4 4966

Difference between null pointer and dangling pointer?

GE, Wipro,

7 19987

1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.

4 5559

what are the languages used in c#?

Infosys,

3 4457

write an algorithm to get a sentence and reverse it in the following format: input : I am here opuput: Here Am I note: first letter of every word is capiatlised

3 5008

write a 'c' program to sum the number of integer values

8 14181

How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)

iLantus, Subex,

1 6578

Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)

Subex,

6 11371

hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

TCS,

1623

I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....

2 4722

Total of how many functions are available in c?

3 4774

size maximum allocated by calloc()

DELL,

3 7605

we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language?????????????

Google,

4 6261


Post New C Questions

Un-Answered Questions { C }

Explain what is a const pointer?

630


What is the use of ?: Operator?

655


Explain union.

629


What are register variables in c?

564


Which is the best website to learn c programming?

567






Why does everyone say not to use scanf? What should I use instead?

674


What is an operator?

649


Where local variables are stored in c?

546


explain what is an endless loop?

600


Does c have an equivalent to pascals with statement?

561


What is the difference between text and binary modes?

632


Explain what is gets() function?

616


What are the similarities between c and c++?

588


For what purpose null pointer used?

596


What is character set?

675