C Interview Questions
Questions Answers Views Company eMail

Write a program that can show the multiplication table.

Student,

666

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.

749

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

664




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

615

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

2 1204

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,

776

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

1 1772

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 1944




print the table 5 in loops

3 1322

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

1 2738

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

ME,

2 1516

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

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

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 875

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

SRG,

3 1547


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

874


how to print the character with maximum occurence and print that number of occurence too in a string given ?

1269


shorting algorithmS

940


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

976


what type of questions arrive in interview over c programming?

847






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

909


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

755


How to establish connection with oracle database software from c language?

924


provide an example of the Group by clause, when would you use this clause

925


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2495


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

3738


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

1413


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

771


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

1958


please send me the code for multiplying sparse matrix using c

1002