struct ptr
{
int a;
char b;
int *p;
}abc;
what is d sizeof structure without using "sizeof" operator??

Answer Posted / ryan

The size of the structure is 5 bytes

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the exit() function same as the return statement? Explain.

852


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

2012


write a proram to reverse the string using switch case?

2681


What is the need of structure in c?

783


What is property type c?

833


What is meant by realloc()?

900


Explain built-in function?

832


What is a nested formula?

791


How to write a multi-statement macro?

815


Tell me can the size of an array be declared at runtime?

800


application attempts to perform an operation?

1727


What is union and structure?

785


Explain what is output redirection?

877


Is fortran still used in 2018?

797


explain what is fifo?

830