long int size
a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

Answer Posted / http://abhishek-technicalwork.

the ans to this question is (a) if the compiler is of 16 bit.
like c language compiler of 16 bit.
so it can be said that the size of the long int is compiler dependent..
therefore option (c) is also correct

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I find the modification date and time of a file?

802


Function calling procedures? and their differences? Why should one go for Call by Reference?

817


C program to find all possible outcomes of a dice?

2051


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

5091


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

854


What is a shell structure examples?

788


Why C language is a procedural language?

793


what is the difference between 123 and 0123 in c?

936


What are the types of i/o functions?

952


Explain two-dimensional array.

808


if p is a string contained in a string?

1602


State the difference between x3 and x[3].

824


Explain how can you check to see whether a symbol is defined?

859


why return type of main is not necessary in linux

1866


code for replace tabs with equivalent number of blanks

1886