how to find the size of the data type like int,float
without using the sizeof operator?
Answer Posted / rajesh gooda
ptr manipulation will return 1.
printf("size of int is %d",(int)((int*)0 + 1))
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is function prototype in c language?
When should the register modifier be used? Does it really help?
What is the stack in c?
How do I get an accurate error status return from system on ms-dos?
What is #line in c?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
what is the structure pointer?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
What does %p mean c?
Is there sort function in c?
What are local static variables? How can you use them?
What is the difference between procedural and declarative language?
cavium networks written test pattern ..