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 5287

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 68027

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

7 60582

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

3 6587

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

2 4669

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

Alcatel,

4 27380

implement OR gate without using any bitwise operator.

Alcatel, Wipro,

1 4186

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

Lucent,

2 3480

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 5572

what is difference between C and C++

4 4439

which is faster execution: loops or recursion?

3 4219

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

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

2121

what is computer

4 3129

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 5697


Post New C Questions






Un-Answered Questions { C }

Can you tell me how to check whether a linked list is circular?

151


What is a substring in c?

120


What is the code for 3 questions and answer check in VisualBasic.Net?

1254


What is the full form of getch?

129


What are multidimensional arrays?

170






What are the advantages of c preprocessor?

165


What are formal parameters?

187


What is a constant?

165


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1392


How do I copy files?

152


What is the difference between functions abs() and fabs()?

185


What does return 1 means in c?

110


When should volatile modifier be used?

100


Differentiate call by value and call by reference?

146


Is c++ based on c?

124