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 total number of disk writes by MySQL

656

write a program to find the given number is prime or not

Accenture, Vasutech,

2 2329

HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

1496




What is C++

4 2006

write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

843

You have given 2 array. You need to find whether they will create the same BST or not. For example: Array1:10 5 20 15 30 Array2:10 20 15 30 5 Result: True Array1:10 5 20 15 30 Array2:10 15 20 30 5 Result: False One Approach is Pretty Clear by creating BST O(nlogn) then checking two tree for identical O(N) overall O(nlogn) ..we need there exist O(N) Time & O(1) Space also without extra space .Algorithm ?? DevoCoder guest Posted 3 months ago # #define true 1 #define false 0 int check(int a1[],int a2[],int n1,int n2) { int i; //n1 size of array a1[] and n2 size of a2[] if(n1!=n2) return false; //n1 and n2 must be same for(i=0;ia1[i+1]) && (a2[i]>a2[i+1]) ) ) return false; } return true;//assumed that each array doesn't contain duplicate elements in themshelves }

Facebook,

1884

How to add two numbers without using semicolon at runtime

2 5121

how to write a program which adds two numbers without using semicolon in c

2 4234




void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }

1 1797

which of 'arrays' or 'pointers' are faster?

5 5387

void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y); }

5 3625

1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

868

which operator is known as dummy operator in c?

Wipro,

2 7349

why array index always starts from zero??

TCS,

4 3811

all c language question

Wipro,

992


Post New C Questions






Un-Answered Questions { C }

How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

12959


What is ambagious result in C? explain with an example.

1073


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

924


Write a Program to accept different goods with the number, price and date of purchase and display them

3429


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

685






the question is that what you have been doing all these periods (one year gap)

913


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

874


cavium networks written test pattern ..

2250


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

990


write a proram to reverse the string using switch case?

1433


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

760


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

771


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

1271


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

680


hi send me sample aptitude papers of cts?

873