struct tag{
auto int x;
static int y;
};main()
{
struct tag s;
s.x=4;
s.y=5;
printf(“%d”,s.x);
}
Answers were Sorted based on User's Feedback
Answer / vishal soni
There is errors......
Because auto can't write in structure scope.... It is in functions
Is This Answer Correct ? | 13 Yes | 3 No |
what does the following function print? func(int i) { if(i%2)return 0; eale return 1; } main() { int =3; i=func(i); i=func(i); printf("%d",i);}
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
class foo { public: static int func(const char*& p) const; }; This is illegal, why?
What is the use of keyword VOLATILE in C?
What's wrong with "char *p; *p = malloc(10);"?
how to use showbits function?
I heard that you have to include stdio.h before calling printf. Why?
Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +
What is the difference between the expression “++a” and “a++”?
Convert the following expression to postfix and prefix X $ Y Z - M + N + P / Q / (R + S)
Write a program to compare two strings without using the strcmp() function
42 Answers Accenture, Arba Minch University,
c program to add and delete an element from circular queue using array