main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("India\n");
}
output?
Answer Posted / ripal
The output will produce error because there is error at if
(a=0).It should be if(a==0)
| Is This Answer Correct ? | 8 Yes | 7 No |
Post New Answer View All Answers
Why do we need arrays in c?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
What is the mean of function?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Write a program to implement queue.
Differentiate between ordinary variable and pointer in c.
What are actual arguments?
How do you list files in a directory?
Explain zero based addressing.
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
How reliable are floating-point comparisons?
What is the purpose of ftell?
What are header files and explain what are its uses in c programming?
What is the difference between formatted&unformatted i/o functions?