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
What is extern variable in c with example?
What type is sizeof?
write a “Hello World” program in “c” without using a semicolon?
What is meant by errors and debugging?
What do you know about the use of bit field?
what is the difference between structural,object based,object orientd programming languages?
Magic square
Write a program that takes three variables(a,b,c) in as separate parameters and rotates the values stored so that value a goes to b,b,to c and c to a
simple program of graphics and thier outpu display with a want what is out put of graohics in c language
A MobileNumber is a VIP number if it satisfy the following conditions. The operator should be Vodafone. Atleast one 0 (Zero) should be exist in mobile number. The number should not end with 8. The single digit sum of all the digits in the number should be equal to 9. For example if the number is 9876543210, the sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9. Write a method: private boolean isVIPMobileNumber(String mobileNum, String operator) mobileNum phone number operator mobile operator as bsnl, Vodafone
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.
You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.