C Interview Questions
Questions Answers Views Company eMail

Write a program that can show the multiplication table.

Student,

1418

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.

1581

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

1377

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

1436

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

2 2547

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,

1549

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

1 3503

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 5209

print the table 5 in loops

3 3070

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

1 3968

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

ME,

2 3175

#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 3230

#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 3751

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 2221

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

SRG,

3 3881


Post New C Questions

Un-Answered Questions { C }

WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

1452


In C language what is a 'dangling pointer'?

626


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

971


Why we use void main in c?

581


in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures

668






What are examples of structures?

581


What are called c variables?

567


What is a structure member in c?

534


Are the variables argc and argv are always local to main?

560


What is a stream water?

642


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

663


How do you define a function?

576


What is string concatenation in c?

560


What is your stream meaning?

589


Can you think of a logic behind the game minesweeper.

1995