Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
data structures through c need help?
[1] Which of the following statements are correct regarding arrays?
A. While declaring and initializing the 2-D array at the same place, mentioning the column dimension is optional.
B. Array elements can be accessed using the position of the element in the array.
Choice a Only A is correct.
Choice b Only B is correct.
Choice c Both A and B are correct.
Choice d Neither A nor B is correct.
[2] When you pass an array to a function, what actually gets passed?
Choice a An address of the array.
Choice b Values of the elements of the entire array.
Choice c Only an address of the first element of the array.
Choice d The number of elements of the array.
[3] Which of the following statements are correct regarding conditional operators?
A. We can use the conditional operators only in arithmetic statements.
B. The conditional operators can be nested.
Choice a Only A is correct.
Choice b Only B is correct.
Choice c Both A and B are correct.
Choice d Neither A nor B is correct.
[4] Which of the following operator reverses the value of the expression it operates on?
Choice a !=
Choice b !
Choice c |
Choice d ||
[5] Which of the following keyword is not used in switch statement?
Choice a default
Choice b case
Choice c break
Choice d continue
[6] If you don't initialize an array, what would be the initial value of elements?
Choice a 0
Choice b Garbage value
Choice c A floting point number
Choice d The character constant '\0'
[7] Which of the following is not a decision making media in C?
Choice a if-else statement
Choice b switch statement
Choice c Logical operators
Choice d Conditional operators
[8] Which of the following shows the correct hierarchy of airthmetic operations in C?
Choice a / + * -
Choice b * - / +
Choice c + - / *
Choice d * / + -
[9] Which of the following is used to combine more than one conditions?
Choice a Conditional operators
Choice b Arithmetic operators
Choice c Logical operators
Choice d Bitwise operators
[10] Which of the following statements are correct regarding loop control instructions?
A. We can drop the initialisation, testing and incrementation in for loop.
B. We cannot use data type other than int as a loop counter.
Choice a Only A is correct.
Choice b Only B is correct.
Choice c Both A and B are correct.
Choice d Neither A nor B is correct.
[11] In what sequence the initialisation, testing and execution of body is done in a do-while loop?
Choice a Initialisation, execution of body, testing
Choice b Execution of body, initialisation, testing
Choice c Initilisation,testing,execution of body
Choice d None of the above
[12] What is the default return type of a function?
Choice a void
Choice b int
Choice c double
Choice d No return type
[13] Which of the following statement is used to take the control to the beginning of the loop?
Choice a exit
Choice b break
Choice c continue
Choice d None of the above
[14] Which of the following statements are correct regarding switch?
A. It is mandatory to arrange all the cases in ascending order.
B. The default case is optional.
Choice a Only A is correct.
Choice b Only B is correct.
Choice c Both A and B are correct.
Choice d Neither A nor B is correct.
[15] Which of the following is not a keyword in C?
Choice a long
Choice b register
Choice c typedef
Choice d automatic
[16] An expression contains relational operators, assignment
operators and arithmetic operators. In the absence of
parantheses, they will be evaluated in which of the following order:
Choice a Assignment, relational, arithemtic
Choice b Arithemtic, relational, assignment
Choice c Relational, arithmetic, assignment
Choice d Assignment, arithmetic, relational
[17] Which of the following is the correct way of declaring a float pointer?
Choice a float ptr ;
Choice b float *ptr ;
Choice c *float ptr ;
Choice d None of the above
[18] Which of the following is the default storage class for variables declared within a function?
Choice a Automatic
Choice b Static
Choice c Register
Choice d Extern
[19] What is the difference between the 5's in these two expressions?
int num[ 5 ] ;
num[ 5 ] = 11 ;
Choice a First is particular element, second is type.
Choice b Both specify array size.
Choice c First is array size, second is particular element.
Choice d First is particular element, second is array size.
2 Answers
- JamesLv 79 years agoFavorite Answer
Please don't just post your homework here. You're paying for your education. Earn it.
Ask specific questions and we will help you understand what you're supposed to be learning.
- Anonymous4 years ago
Electronics and oracle are thoroughly specific without a relation in any respect. What u have studied till now and your employer self-discipline could have no relation with oracle. Oracle is fullyyt appropriate with IT line. application progression on the backend has won lot of applications of oracle. There u will discover oracle healthful. the path on which u r going is advantageous, i mean the certification course, download some dumps to sparkling the oracle certification....