C Interview Questions
Questions Answers Views Company eMail

What is Heap?

3 4760

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)


how to add numbers without using arithmetic operators.


14 7947

if a person is buying coconuts of Rs10,and then sell that coconuts of Rs9,with the loss of one rupee.After that the person became a millaniore.how?


9 5672

a 'c' program to tell that the set of three coordinates lie on a same line


3 10586

write a program to print sum of each row of a 2D array.

4 22506

write a program to arrange the contents of a 1D array in ascending order

4 15506

What will be the output of x++ + ++x?

Religare, MBT,

20 29869

write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)

Oracle, TCS, Wipro, Infosys, iFlex, ADITI, Unicops,

26 65044

how is the examination pattern?



Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; }


3 4812

main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }


22 17915

#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }


14 27830

fun(int x) { if(x > 0) fun(x/2); printf("%d", x); } above function is called as: fun(10); what will it print? }


17 11003

#define DCHAR char* typedef char* TCHAR; if using these following variables will be declared like DCHAR ch1, ch2; TCHAR ch3, ch4; then what will be types of ch1, ch2, ch3 and ch4?


6 6145

Post New C Questions

Un-Answered Questions { C }

Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.


If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.


Give basis knowledge of web designing ...


what is the difference between class and unio?


how can use subset in c program and give more example


What is pre-emptive data structure and explain it with example?


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code


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?


Simplify the program segment if X = B then C ← true else C ← false


write a c program for swapping two strings using pointer


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)


how to create duplicate link list using C???


how is the examination pattern?


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..