Which of the following about automatic variables within a
function is correct ?
a.its type must be declared before using the variable
b.they are local
c.they are not initialised to zero
d.they are global.
Answer Posted / uma
auto is a defult data type in c na???then have to declare??
but c answer is some what ok....but exactly i think b...
i go for b
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What should malloc(0) do?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
Write a function that will take in a phone number and output all possible alphabetical combinations
How do I copy files?
Differentiate between full, complete & perfect binary trees.
The difference between printf and fprintf is ?
What is the use of header?
Using which language Test cases are added in .ptu file of RTRT unit testing???
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What is a macro?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
Can the curly brackets { } be used to enclose a single line of code?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What is meant by realloc()?
What is an lvalue?