C Interview Questions
Questions Answers Views Company eMail

What is wrong with this code such that it doesnt produce the input reversed? #include #include #include int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }

2 1523

how to add two numbers without using arithmetic operators?

4 2349

write a program to add two numbers of any size.....(remember any size)

1 1588




Write a program in c using only loops to print * * * * * *******

IBM,

2 1941

20. main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); } Answer:??????

2 2101

21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }

3 4974

array of pointer pointer to array pointer to pointer

MAHINDRA,

1 1729

#include #include void main() { int m=0111,n=20; printf("%d%d\n",m,n); getch(); }

1 1736




Write a program in c to print * * * * * *******

1 1424

Ca some one please help me with aC code to allow user enter numbers from 1 to 20 without repeating and prnt the sum of those numbers thnx

4 2170

Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

976

how to make a scientific calculater ?

695

You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

957

Write a program in c to print 1 121 12321 1234321 123454321

Mu Sigma, Wipro, College School Exams Tests, ANR,

10 35700

will u please send me the placement papers to my mail???????????????????

562


Post New C Questions






Un-Answered Questions { C }

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

833


please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics

2028


C language questions for civil engineering

310


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

1057


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

854






hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

1034


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

690


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

737


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

863


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

1322


what is used instead of pointers in java than c?

259


what is the difference between class and unio?

1046


show how link list can be used to repersent the following polynomial i) 5x+2

855


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

753


a c code by using memory allocation for add ,multiply of sprase matrixes

1372