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 1484

how to add two numbers without using arithmetic operators?

4 2295

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

1 1517

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


2 1898

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

2 2050

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

3 4836

array of pointer pointer to array pointer to pointer


1 1682

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

1 1695

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

1 1393

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 2133

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.


how to make a scientific calculater ?


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.


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

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

10 34650

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


Post New C Questions

Un-Answered Questions { C }

What is the difference between if else and switchstatement


Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)


how to write optimum code to divide a 50 digit number with a 25 digit number??


What is pre-emptive data structure and explain it with example?


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.


hi, which software companys will take,if d candidate's % is jst 55%?


p*=(++q)++*--p when p=q=1 while(q<=6)


c language interview questions & answer


Write a C program to count the number of email on text


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university


what is uses of .net


develop algorithms to add polynomials (i) in one variable