C Interview Questions
Questions Answers Views Company eMail

What is Heap?

3 4587

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 7581

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 5426

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


3 10275

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

4 21621

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

4 15246

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

Religare, MBT,

20 28478

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

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

26 64305

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 4653

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


22 16865

#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 26692

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


17 10398

#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 5930

Post New C Questions

Un-Answered Questions { C }

program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if


write a proram to reverse the string using switch case?


Without Computer networks, Computers will be half the use. Comment.


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


All technical questions


what is event driven software and what is procedural driven software?


Sir i need notes for structure,functions,pointers in c language can you help me please


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


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?


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


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?


what is uses of .net


Write a Program to accept different goods with the number, price and date of purchase and display them