Question Though the names of formal and actual arguments are similar, they are treated as different variables because they are :-
Correct Answer in different functionsYour Answer in different functions
Question In which type, the values are passed to a function?
Correct Answer call by value
Question Which of the following is a unformatted console I/O function to display a string?
Correct Answer putsYour Answer puts
Question The collaboration diagram shows interaction between objects and sequence of activities denoted by :-
Correct Answer MembersYour Answer Methods
Question The sequence diagram follows the following sequence :-
Correct Answer Use-case-transaction sequenceYour Answer Use-case-transaction sequence
Question Which type of I/O functions are used to perform I/O operations on various ports?
Correct Answer PortYour Answer Port
Question What is the another name of 'value at address' operator?
Correct Answer indirectionYour Answer indirection
Question If 'return' statement is written without any value, which of the following is used for empty value?
Correct Answer nothing, only 'return;' has to be writtenYour Answer nothing, only 'return;' has to be written
Question C language has been developed at
Correct Answer AT & T Bell Labs, USAYour Answer AT & T Bell Labs, USA
Question Which of the following statements is decision making instruction?
Correct Answer if Your Answer if
Question Two statements are written within if block without any braces, if condition is true it will :-
Correct Answer execute the first statement in the block and the 2nd will get executed irrespictive of the condition is true or falseYour Answer execute the first statement in the block and the 2nd will get executed irrespictive of the condition is true or false
Question Which function is used to open a file?
Correct Answer fopenYour Answer fopen
Question When you pass an array as an argument to a function, what actually gets passed?
Correct Answer Address of the first element of the array [base address]Your Answer Address of the first element of the array [base address]
Question An array 'num' of integer type for 3 rows and 5 columns should be declared as
Correct Answer int numYour Answer int num
Question An _expression contains relational operators, assignement operators, and arithmatic operators. In the absence of parentheses, they will be evaluated in which of the following order?
Correct Answer Arithmetic, relational, assignmentYour Answer Arithmetic, relational, assignment
Question How many times 'return' statement can be written?
Correct Answer any