C Interview Questions
Questions Answers Views Company eMail

Write a program that can show the multiplication table.

Student,

620

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.

695

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

571




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

575

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

2 1117

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,

728

int i=~0; uint j=(uint)i; j++; printf(“%d”,j);

1 1612

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 1785




print the table 5 in loops

3 1236

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

1 2659

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

ME,

2 1368

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

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

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 797

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

SRG,

3 1435


Post New C Questions






Un-Answered Questions { C }

Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

962


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

1373


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

3191


Can you write the algorithm for Queue?

761


In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

1115






what is the role you expect in software industry?

888


what is the structure pointer?

878


regarding pointers concept

726


Hai what is the different types of versions and their differences

720


what is uses of .net

468


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

870


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

871


what is ur strangth & weekness

988


please explain every phase in the "SDLC" in the dotnet.

1362


I need previous papers of CSC.......plz help out by posting them.......

905