(A) 2
(B) 3
(C) 4
(D) 5
Tag: Introduction to Programming
From the following; which one is used as an assignment operator?
(A) Equal sign ‘=’
(B) Double equal sign ‘==’
(C) Both equal and double equal sign
(D) None of the given options
__ statement interrupts the flow of control.
(A) switch
(B) continue
(C) goto
(D) break
From following; which one is the correct syntax of an array initialize: Array size is 10 and it is of double data type to value 0?
(A) arr[10] = {0.0};
(B) double arr[10]= 0.0;
(C) double arr[10] = {0.0};
(D) double arr[] = 0.0;
__are conventional names of the command line parameters of the ‘main()’ function.
(A) ‘argb’ and ‘argv’
(B) ‘argc’ and ‘argv’
(C) argc’ and ‘argu’
(D) None of the given
If int a = 50; then the value of a/= 3; will be,?
(A) 15
(B) 16
(C) 17
(D) 18
the sizeof operator is used to determine the size of?
(A) data
(B) variable
(C) data type
(D) None of the given
< , <= , > , >= are called __ operators.
(A) Arithmetic
(B) Logical
(C) Relational
(D) Conational