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

Write a program that can show the multiplication table.

Student,

950

Write a program that will read the input of any number of digits n in a row of shafh showing the breakdown of the printing and printing figures by the recursive function.

1063

Write a program that an operator and two operands read from input operand operator on the implementation and results display.

958

A program to allow an input operand and operator from the operator and read on the display and output operand.

984

int j =15,i; for (i=1; 1<5; ++i) {printf ("%d%d ",j,i); j = j-3; }

2 1712

Function shall sum members of given one-dimensional array. However, it should sum only members whose number of ones in the binary representation is higher than defined threshold (e.g. if the threshold is 4, number 255 will be counted and 15 will not) - The array length is arbitrary - output the results to the stdout

XYZ,

1074

int i=~0; uint j=(uint)i; j++; printf(ā€œ%dā€,j);

1 2611

what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175

Wipro,

5 3121

print the table 5 in loops

3 1959

how to print 212 as Twohundreds twelve plz provide me ans soon

1 3177

int i=0,j; j=++i + ++i ++i; printf(" %d",j);

ME,

2 2240

#include #include void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 2019

#include int main() { if ("X" <"x") printf("X smaller than x "); } my question is whats the mistake in this program? find it and please tell me..

3 2541

int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?

2 1388

#include void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }

SRG,

3 2617


Post New C Questions






Un-Answered Questions { C }

What is structure padding in c?

128


What is the use of void pointer and null pointer in c language?

152


What is the use of #define preprocessor in c?

127


What is the difference between null pointer and wild pointer?

147


What are the types of data structures in c?

117






Difference between exit() and _exit() function?

149


What is #line in c?

123


Whats s or c mean?

126


Explain what are run-time errors?

162


What is the purpose of type declarations?

179


Explain what is meant by 'bit masking'?

176


the maximum value that an integer constant can have is a) -32767 b) 32767 c) 1.701e+38 d) -1.7014e+38

170


What are the advantages and disadvantages of pointers?

132


What is c value paradox explain?

120


When would you use a pointer to a function?

168