C Interview Questions
Questions Answers Views Company eMail

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

3 5663

Why preprocessor should come before source code?

2 2393

What is a far pointer?What is the utility?

4 2916

Difference between null pointer and dangling pointer?

GE, Wipro,

7 15249

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 3241

what are the languages used in c#?


3 2866

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 3456

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

8 11009

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

Subex, iLantus,

1 5379

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


6 8631

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



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 3310

Total of how many functions are available in c?

3 3134

size maximum allocated by calloc()


3 5708

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


4 4275

Post New C Questions

Un-Answered Questions { C }

Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.


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


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


please explain every phase in the "SDLC" in the dotnet.


Write a c program to demonstrate character and string constants?


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?


write a proram to reverse the string using switch case?


application attempts to perform an operation?


what is the structure pointer?


to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?


write a program to rearrange the array such way that all even elements should come first and next come odd


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this


how could explain about job profile