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 some question need help plz answer?
Which of the following shows the correct hierarchy of airthmetic operations in C?
Choice a
/ + * -
Choice b
* - / +
Choice c
+ - / *
Choice d
* / + -
2.[2] 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 correc
3.Which of the following operator reverses the value of the expression it operates on?
Choice a
!=
Choice b
!
Choice c
|
Choice d
||
4. 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
5.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.
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'
2 Answers
- 1 decade agoFavorite Answer
Q.1 D
Q.2 A
Q.3 B (Not Operator)
Q.4 A (Do-While executes loop then checks for condition).
Q.5 B
Q.6 B
For further explanation, refer any C book.
- 1 decade ago
I suggest you pick up a book about c programming and read it, and then answer your homework questions yourself.