Question
Select Answer
3.1
if(n>0) { if (d>e) z=a;} else z=b;
Select
braces can alter the order of association between if and else statements
unnecessary but good programming practice
To get single word string
reads a single character and wait for carriage return
static variable
Beginning
When the function is exited
interchanging rows with columns
forces exit from a program
Doubly linked list
3.2
Put a break after the last case of a switch statement
Select
braces can alter the order of association between if and else statements
unnecessary but good programming practice
To get single word string
reads a single character and wait for carriage return
static variable
Beginning
When the function is exited
interchanging rows with columns
forces exit from a program
Doubly linked list
3.3
*(*(a+1)+2);
Select
braces can alter the order of association between if and else statements
unnecessary but good programming practice
To get single word string
reads a single character and wait for carriage return
static variable
Beginning
When the function is exited
interchanging rows with columns
forces exit from a program
Doubly linked list
3.4
getchar()
Select
braces can alter the order of association between if and else statements
unnecessary but good programming practice
To get single word string
reads a single character and wait for carriage return
static variable
Beginning
When the function is exited
interchanging rows with columns
forces exit from a program
Doubly linked list
3.5
Retains value across function calls
Select
braces can alter the order of association between if and else statements
unnecessary but good programming practice
To get single word string
reads a single character and wait for carriage return
static variable
Beginning
When the function is exited
interchanging rows with columns
forces exit from a program
Doubly linked list
3.6
Easier to insert a node in unsorted linked list at
Select
braces can alter the order of association between if and else statements
unnecessary but good programming practice
To get single word string
reads a single character and wait for carriage return
static variable
Beginning
When the function is exited
interchanging rows with columns
forces exit from a program
Doubly linked list
3.7
The life of an auto variable declared in function ends
Select
braces can alter the order of association between if and else statements
unnecessary but good programming practice
To get single word string
reads a single character and wait for carriage return
static variable
Beginning
When the function is exited
interchanging rows with columns
forces exit from a program
Doubly linked list
3.8
Transpose
Select
braces can alter the order of association between if and else statements
unnecessary but good programming practice
To get single word string
reads a single character and wait for carriage return
static variable
Beginning
When the function is exited
interchanging rows with columns
forces exit from a program
Doubly linked list
3.9
The exit function
Select
braces can alter the order of association between if and else statements
unnecessary but good programming practice
To get single word string
reads a single character and wait for carriage return
static variable
Beginning
When the function is exited
interchanging rows with columns
forces exit from a program
Doubly linked list
3.10
Deleting the node whose address is known without traversing the list
Select
braces can alter the order of association between if and else statements
unnecessary but good programming practice
To get single word string
reads a single character and wait for carriage return
static variable
Beginning
When the function is exited
interchanging rows with columns
forces exit from a program
Doubly linked list