i=20,k=0;
for(j=1;j<i;j=1+4*(i/j))
{
k+=j<10?4:3;
}
printf("%d", k);
Answer Posted / vignesh1988i
k=4;;;;;
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
largest Of three Number using without if condition?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
I need previous papers of CSC.......plz help out by posting them.......
What are the 4 data types?
Explain the use of function toupper() with and example code?
What are the advantages of c preprocessor?
Is fortran faster than c?
What is spaghetti programming?
Write a code to generate divisors of an integer?
Is c language still used?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What is the difference between single charater constant and string constant?
Explain how do you generate random numbers in c?
How is pointer initialized in c?