#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
what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }
Explain goto?
write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is c programing language?
Illustrate it summing the series 2+4+6+......to n terms using (i) while loop (ii) do-while loop
What is the difference between char a[] = "string"; and char *p = "string"; ?
14 Answers Adobe, Honeywell, TCS,
Are the variables argc and argv are local to main?
Explain what are its uses in c programming?
What is c definition?
List some applications of c programming language?