#include<stdio.h>
#include<conio.h>
struct stu
{
int i;
char j;
};
union uni
{
int i;
char j;
};
void main()
{
int j,k;
clrscr();
struct stu s;
j=sizeof(s);
printf("%d",j);
union uni u;
k=sizeof(u);
printf("%d",k);
getch();
}
what is value of j and k.
Answers were Sorted based on User's Feedback
write a program to print %d ?
What is substring in c?
What is malloc calloc and realloc in c?
Write a c program to print the sizes and ranges of different data types in c?
no consistent academics. how to answer the question
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
how to determine the complexity of an algorithm as log(n)
What are the similarities between c and c++?
marge linklist
what is void pointer?
What is the purpose of void in c?