#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.
Answer Posted / rohit
84
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Define the scope of static variables.
What is c system32 taskhostw exe?
Are the variables argc and argv are local to main?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
Explain About fork()?
Is there sort function in c?
What is the process of writing the null pointer?
How can a number be converted to a string?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
Does c have function or method?
How is null defined in c?
Where static variables are stored in memory in c?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.