main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}

what will be the output?
}

Answer Posted / anusha raykar

Please dont answer with blind mind.

Answer is= 3

100%

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are runtime error?

630


What are the keywords in c?

644


What is the argument of a function in c?

576


What is file in c preprocessor?

655


How many levels of pointers can you have?

706






How to get string length of given string in c?

610


What are preprocessor directives in c?

639


Explain what is the purpose of "extern" keyword in a function declaration?

624


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

2560


What is the use of a ‘’ character?

587


difference between native and cross compilers

1672


What is the use of header?

625


What is a pragma?

671


What is a double c?

592


What is pointers in c?

659