Follow Our FB Page << CircleMedia.in >> 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,roll.no 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.

Alcatel,

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;

Lucent,

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

2417

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?

453


Explain what is the general form of a c program?

464


Why should I prototype a function?

475


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

1273


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

450






Are enumerations really portable?

442


Difference between Shallow copy and Deep copy?

1401


What is the use of #include in c?

430


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

1313


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

463


Explain what is a stream?

441


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

1621


Do pointers take up memory?

474


What is the meaning of typedef struct in c?

412


What is table lookup in c?

427