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

who will call your main function in c under linux?

2 4395

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

MIT, TCS,

12 22838

What is the difference between null pointer and void pointer

CTS, Manforce, MAQ Software,

10 40126

why r u join this company? give solid resons.

IBM, Infosys, TCS,

16 19647

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

1 11883

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

NSN,

2 5260

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 7680

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 4374

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 4944

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

2 7300

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

Satyam,

3 5577

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

2 3724

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

4 3962

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 5223

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 2354


Post New C Questions






Un-Answered Questions { C }

Is a house a shell structure?

153


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1117


number of times a digit is present in a number

1083


What is auto keyword in c?

322


What is pointer & why it is used?

149






I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1431


Write a code to generate a series where the next element is the sum of last k terms.

177


Tell us something about keyword 'auto'.

168


any "C" function by default returns an a) int value b) float value c) char value d) a & b

184


Explain how can I remove the trailing spaces from a string?

174


How are variables declared in c?

108


What is sizeof c?

126


Are c and c++ the same?

168


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

1339


Why is struct padding needed?

146