count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be

a) 0

b) 11

c) 55

d) array


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value

3 Answers   Accenture,


code for inverse a matrix

0 Answers  


What does main () mean in c?

0 Answers  


Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?

1 Answers  


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

0 Answers  






How to removing white spces in c programming only bu using loops

2 Answers  


Do you know the difference between malloc() and calloc() function?

0 Answers  


What is your stream meaning?

0 Answers  


the maximum width of a c variable name can be a) 6 characters b) 8 characters c) 10 characters d) 20 characters

2 Answers  


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

0 Answers  


Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.

0 Answers  


Write a program to find given number is even or odd without using any control statement.

2 Answers  


Categories