"Let us C beyond the C"
what is ambiguity error
An error caused due to confusion is called 'Ambiguity' error.
i cant understand 3rd question
In Turbo C compiler, there is an inbuilt function called randomize(). The question is "What is the purpose of that function?"
5. What is the output of the program#includeint main(){ struct emp { char name[20]; int age; float sal; }; struct emp e = {"Tiger"}; printf("%d, %f\n", e.age, e.sal); return 0;}[A]. 0, 0.000000 @ [B]. Garbage values[C]. Error [D]. None of aboveAnswer: Option AExplanation:When an automatic structure is partially initialized remaining elements are initialized to 0(zero).i cant understand how this program works
in 5th qustion, they din initialize tat variable..is it possible to get output for tat variable...and tat variable is declared with negative sign.. is tat declaration s right?
what is ambiguity error
ReplyDeleteAn error caused due to confusion is called 'Ambiguity' error.
Deletei cant understand 3rd question
ReplyDeleteIn Turbo C compiler, there is an inbuilt function called randomize(). The question is "What is the purpose of that function?"
Delete5.
ReplyDeleteWhat is the output of the program
#include
int main()
{
struct emp
{
char name[20];
int age;
float sal;
};
struct emp e = {"Tiger"};
printf("%d, %f\n", e.age, e.sal);
return 0;
}
[A].
0, 0.000000 @
[B]. Garbage values
[C]. Error [D]. None of above
Answer: Option A
Explanation:
When an automatic structure is partially initialized remaining elements are initialized to 0(zero).
i cant understand how this program works
in 5th qustion, they din initialize tat variable..is it possible to get output for tat variable...and tat variable is declared with negative sign.. is tat declaration s right
ReplyDelete?