Question: How do you initialize an array in C?
Options
A : int arr[3] = (1,2,3);
B : int arr(3) = {1,2,3};
C : int arr[3] = {1,2,3};
D : int arr(3) = (1,2,3);
Click to view Correct Answer
Data Structure Array Array Operations more questions
Which of the following is illegal?
Which of the following is not a valid variable name....
Which of the following function declaration is illegal?
What is the correct syntax of declaring array of pointers....
How do you instantiate an array in Java?
Which of the following correctly declares an array?
What is the signature of math in function using command....
Which of the following is not a valid C variable....
What members do the structure returned by function div() contains?
What is the prototype of strcoll() function?
Data Structure Adjacency List more Online Exam Quiz
Data Structure Adjacency Matrix
Data Structure Assembly Line Scheduling