C Interview Questions
Questions Answers Views Company eMail

How to reverse a linked list

IBM, TCS, Aricent,

1 4791

1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)

Eskom, TCS,

12 64568

write a c program to store and print name,address,roll.no of a student using structures?

7 55190

Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates

3 5968

Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001

2 4188

implement NAND gate logic in C code without using any bitwise operatior.


4 24650

implement OR gate without using any bitwise operator.

Wipro, Alcatel,

1 3712

Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;


2 2783

in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?

Infosys, NetApp,

4 4932

what is difference between C and C++

4 3733

which is faster execution: loops or recursion?

3 3634

#include #include void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?

3 4455

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


what is computer

4 2506

we compile c program in 32 processor and 64 bit processor .exe file is created in both the processors. if we want to run .exe file in 64 bit processor which is created in 32 bit processor. is that .exe file is run or not if it is not run why?

Wipro, HP,

4 4815

Post New C Questions

Un-Answered Questions { C }

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


write a progrmm in c language take user interface generate table using for loop?


I need previous papers of CSC.......plz help out by posting them.......


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software


i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me


write a c program to find the sum of five entered numbers using an array named number


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?


what are # pragma staments?


can anyone please tell about the nested interrupts?


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.


a c code by using memory allocation for add ,multiply of sprase matrixes


writ a program to compare using strcmp VIVA and viva with its output.


write a c program in such a way that if we enter the today date the output should be next day's date.


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .


write a proram to reverse the string using switch case?