long int size
a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
Answer Posted / asis kumar mohanty
it is compiler and environment dependent.
turbo compiler under c environment takes 4 bytes for
longint.
turbo compiler under unix environment takes 8 bytes.
Is This Answer Correct ? | 22 Yes | 9 No |
Post New Answer View All Answers
What are the advantages and disadvantages of pointers?
What’s the special use of UNIONS?
In C, What is the #line used for?
what is the syallabus of computer science students in group- 1?
What are the application of void data type in c?
Can you return null in c?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is self-referential structure in c programming?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
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
Is it acceptable to declare/define a variable in a c header?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
write a program fibonacci series and palindrome program in c
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
what are bit fields? What is the use of bit fields in a structure declaration?