how to find the size of the data type like int,float
without using the sizeof operator?
Answer Posted / anil arya
#define SIZEOF(type) (int)&((int *)0)[1])
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program to show the change in position of a cursor using c
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
What are header files in c programming?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
Write a simple code fragment that will check if a number is positive or negative.
What is the purpose of sprintf() function?
Can a program have two main functions?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What are loops c?
What is oops c?
What are the types of variables in c?
What is a good way to implement complex numbers in c?
What are compound statements?
What math functions are available for integers? For floating point?
What is meant by keywords in c?