#include<stdio.h>
main()
{
struct xx
{
int x=3;
char name[]="hello";
};
struct xx *s;
printf("%d",s->x);
printf("%s",s->name);
}
Answer Posted / susie
Answer :
Compiler Error
Explanation:
You should not initialize variables in declaration
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
How can you relate the function with the structure? Explain with an appropriate example.
What is full form of PEPSI
write a simple calculator c program to perform addition, subtraction, mul and div.
write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30
Write a program to model an exploding firecracker in the xy plane using a particle system
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
Develop a routine to reflect an object about an arbitrarily selected plane
Design an implement of the inputs functions for event mode
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
Cluster head selection in Wireless Sensor Network using C programming language.
why nlogn is the lower limit of any sort algorithm?
could you please send the program code for multiplying sparse matrix in c????
What is data _null_? ,Explain with code when u need to use it in data step programming ?
How to palindrom string in c language?
Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??