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
How do you print an address?
How do you override a defined macro?
What are lookup tables in c?
What is malloc and calloc?
Is null valid for pointers to functions?
What is c programing language?
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
Difference between Shallow copy and Deep copy?
Is array name a pointer?
How can you draw circles in C?
Explain the use of 'auto' keyword in c programming?
Why calloc is better than malloc?
Should I learn data structures in c or python?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
What does 2n 4c mean?