C Interview Questions
Questions Answers Views Company eMail

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

3 5557

Why preprocessor should come before source code?

2 2316

What is a far pointer?What is the utility?

4 2810

Difference between null pointer and dangling pointer?

Wipro, GE,

7 14879

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 3101

what are the languages used in c#?


3 2769

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 3321

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

8 10861

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

Subex, iLantus,

1 5285

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


6 8472

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 3220

Total of how many functions are available in c?

3 3010

size maximum allocated by calloc()


3 5615

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 4155

Post New C Questions

Un-Answered Questions { C }

what are non standard function in c


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.


What is the difference between declaring a variable by constant keyword and #define ing that variable?


how to write a c program to print list of fruits in alpabetical order?


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...


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.


can anyone please tell about the nested interrupts?


if p is a string contained in a string?


Write a progarm to find the length of string using switch case?


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions


How to establish connection with oracle database software from c language?


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor


number of times a digit is present in a number


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;