#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
If errno contains a nonzero number, is there an error?
Here is a neat trick for checking whether two strings are equal
Write a program that receives as input a number omaadel-n-print, four digits.
implement NAND gate logic in C code without using any bitwise operatior.
being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Explain 'far' and 'near' pointers in c.
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
why u join this call center?
What are enumerated types?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)
1 Answers Bosch, College School Exams Tests,