C Interview Questions
Questions Answers Views Company eMail

who will call your main function in c under linux?

2 5301

Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.

MIT, TCS,

12 25974

What is the difference between null pointer and void pointer

CTS, Manforce, MAQ Software,

10 44659

why r u join this company? give solid resons.

IBM, Infosys, TCS,

16 24224

Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….

1 15191

what is the advantage of using SEMAPHORES to ORDINARY VARIABLES???

NSN,

2 6382

main() { float a=8.8; double b=8.8; if(a==b) printf("Equal"); else printf("not equal"); getch(); } what is the output? with reason

CSC,

6 9551

plssssss help !!....using array.. turbo c.. create a program that will accept number of words to be consored. .a word must not exceed 10 characters long .the text to be entered will be no longer than 200 characters .there will be no 10 words example: enter number of words to be censor: 5 enter words to censor: windows office microsoft bill gates enter text to censor: bill gates founded microsoft and makes office and windows sample output: founded and makes and

1 5141

number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.

3 6124

Convert the following expression to postfix and prefix X $ Y Z - M + N + P / Q / (R + S)

2 11526

Convert the following expression to postfix and prefix (A+B) * (D-C)

Satyam,

3 7190

plz answer..... a program that reads non-negative integer and computes and prints its factorial

2 4650

plz answer.. a program that takes a string e.g. "345" and returns integer 345

4 5431

plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .

3 6805

plz answer.... write a program that reads line (using getline) e.g."345", converts each line to an integer using "atoi" and computes the average of all the numbers read. also compute the standard deviation.

1 3045


Post New C Questions

Un-Answered Questions { C }

Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

661


What is an arrays?

652


What is sizeof in c?

571


What are the difference between a free-standing and a hosted environment?

745


Can we assign string to char pointer?

586






What is meant by preprocessor in c?

536


Explain what are global variables and explain how do you declare them?

639


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

564


What is string concatenation in c?

568


How can you determine the maximum value that a numeric variable can hold?

639


What is a file descriptor in c?

562


Write a program to generate random numbers in c?

663


How can I find out if there are characters available for reading?

645


Why c is procedure oriented?

572


What is the difference between struct and union in C?

573