T
Q. Which is/are the correct syntax to initialize an array in C?
Both the options A and B are correct to initialize an array. Example: int mark[5] = {19, 10, 8, 17, 9}; // or int mark[] = {19, 10, 8, 17, 9};
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What will be output for the following code?
Q. The format identifier ‘%i’ is also used for _____ data type.
Q. What is the output of the C statement.?
Q. Which programming language is more faster among these?
Q. Which format specifier is used to read and print the string using printf() and scanf() in C?
Q. What is short int in C programming?
Discusssion
Login to discuss.