what will be the output of this program?
#include<stdio.h>
#define cube(x) x*x*x
void main()
{
int i,j=5;
i=cube(j+3);
printf("i=%d",i);
}
Answer Posted / srikanth karnati
please explain this program.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Can you please explain the difference between malloc() and calloc() function?
List out few of the applications that make use of Multilinked Structures?
how to count no of words,characters,lines in a paragraph.
What does c mean in standard form?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What are the types of pointers?
How can I write a function that takes a format string and a variable number of arguments?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What is static function in c?
When should the volatile modifier be used?
What is the use of extern in c?
What is a list in c?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
What is meant by gets in c?
Can you apply link and association interchangeably?