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

C Interview Questions
Questions Answers Views Company eMail

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.



Go through this linked list concept.While traversing through the singly linked list sometimes the following code snippet "while(head != NULL)" is used and other times "while(head->link != NULL)"is used(Here head is the pointer pointing to the first node,node has two parts data part and link part).What is the difference between head != NULL and Head->link != NULL and in which situation are they used?


1 2271

Which weighs more, a gram of feathers or a gram of gold?

2 3223

There are 8 billiard balls, and one of them is slightly heavier, but the only way to tell was by putting it on a weighing scale against another. What's the fewest number of times you'd have to use the scale to find the heavier ball?

Microsoft, TCS,

5 6265

I didn't count the ducks that I saw in line, but I do remember that one duck was in front of two ducks, another duck behind two ducks. How many ducks did I see?

2 4792

program in c to print 1 to 100 without using loop


9 7255

. Write a program to get a string and to convert the 1st letter of it to uppercase


2 4584

what is a function method?give example?


Code for calculating square root without using library function, of math.h


4 24530

main() { int a; a=++100; printf("%d",a); getch(); }

4 3227

print the palindrome numbers in between 0 to n

1 2384

write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.



write a c program that if the given number is prime, and their rearrangement(permute) of that number is also prime. Ex: Input is "197" is prime Output: 791,917,179 is also prime. Please any one tell me tha code for that

3 3595

void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its any one know ans plz reply


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25


Post New C Questions

Un-Answered Questions { C }

What standard functions are available to manipulate strings?


Why ca not I do something like this?


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions


Why doesnt that code work?


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..


What does calloc stand for?


What is spaghetti programming?


How to delete a node from linked list w/o using collectons?


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles


Do you know pointer in c?


Describe the header file and its usage in c programming?


what will be the output for the following main() { printf("hi" "hello"); }


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer


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


What is the difference between declaring a variable and defining a variable?