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 / udai

512

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of C instructions?

664


Which header file should you include if you are to develop a function which can accept variable number of arguments?

795


Is register a keyword in c?

623


How to explain the final year project as a fresher please answer with sample project

459


What is keyword in c?

586






In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2670


What header files do I need in order to define the standard library functions I use?

528


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

599


Are there namespaces in c?

556


Is c a great language, or what?

596


Explain what are header files and explain what are its uses in c programming?

621


Is c dynamically typed?

659


What is return in c programming?

503


What are loops in c?

543


int i=10; printf("%d %d %d", i, i=20, i);

1000