#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
Explain zero based addressing.
Is c a great language, or what?
What is external variable in c?
what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??
Here is a good puzzle: how do you write a program which produces its own source code as output?
Write a program to generate prime factors of a given integer?
Write a program for print infinite numbers
1 What is a Data Structure?
Write a code to reverse string seperated by spaces i/p str=India is my country o/p str=aidnI si ym yrtnuoc After writing code, optimize the code
Explain what standard functions are available to manipulate strings?
what does keyword ‘extern’ mean in a function declaration?
Where define directive used?