main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / vyasaraj.s
The output is 3
| Is This Answer Correct ? | 21 Yes | 7 No |
Post New Answer View All Answers
Explain how can I read and write comma-delimited text?
What is a sequential access file?
What is a stream water?
What is integer constants?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Under what circumstances does a name clash occur?
Write a program to find the biggest number of three numbers in c?
What is printf () in c?
What is array in c with example?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What is the data segment that is followed by c?
Write a simple code fragment that will check if a number is positive or negative.
Disadvantages of C language.
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
What is structure padding in c?