Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Interview Questions
Questions Answers Views Company eMail

How to reverse a linked list

Aricent, Fidelity, IBM, TCS,

1 5774

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 70557

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

7 66597

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

3 7218

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

2 5259

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


4 29733

implement OR gate without using any bitwise operator.

Alcatel, Wipro,

1 4737

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


2 4097

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 6384

what is difference between C and C++

4 5308

which is faster execution: loops or recursion?

3 4970

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

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


what is computer

4 4077

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?

HP, Wipro,

4 6599

Post New C Questions

Un-Answered Questions { C }

What is keyword with example?


Explain what is the general form of a c program?


Why should I prototype a function?


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result


What’s a signal? Explain what do I use signals for?


Are enumerations really portable?


Difference between Shallow copy and Deep copy?


What is the use of #include in c?


what are bit fields? What is the use of bit fields in a structure declaration?


What are the different types of pointers used in c language?


Explain what is a stream?


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.


Do pointers take up memory?


What is the meaning of typedef struct in c?


What is table lookup in c?