# ENG201 MIDTERM SOLVED PAPERS BY MOAAZ BY GETCAREERALERT

## ENG101 MIDTERM SOLVED PAPERS BY MOAAZ

Presently when we execute the program in the wake of gathering, we get the accompanying result. x = 5 y = 10 z = x + y = 15 short Data type
We noticed that the number possesses four bytes in memory.

So assuming that we need to store a little whole number like 5, 10 or 20 four bytes would be utilized. The C gives another information type for it is called short to store little entire numbers which. The size of the short is two bytes and it can store numbers in the scope of – 32768 to 32767.

So assuming that we will utilize a variable for which we realize that it won’t increment from 32767, for instance, the time of various individuals, then we utilize the information type short for age. We can compose the above example program by utilizing short rather than int.

ALL VU ASSIGNMENT SOLUTION GROUPS MUST JOIN AND SHARE WITH FRIENDS

IN THIS WHATSAPP GROUP I SEND A SOLUTION FILE AND LINK FOR YOU. MUST JOIN THESE WHATSAPP GROUPS CLICK BELOW LINK

ALSO, SEE

ACC311 FINAL TERM PAST PAPER MEGA FILES

## MUST JOIN VU STUDY GROUPS

On the opposite side assuming we have an extremely huge entire number that can not be put away in an int then, at that point, we utilize the information type long given by C. So when we will manage very enormous entire numbers in our program, we utilize long information type. We use it in the program as long x = 300500200; Genuine Numbers The C language furnishes two information types to manage genuine (numbers with decimal focuses for example 1.35, 735.251).

The genuine numbers are otherwise called drifting point numbers. float twofold float Data Type To store genuine numbers, float information type is utilized. The float information type utilizes four bytes to store a genuine number. Here is a program that utilizations float information types.  Data Type Assuming we want to store an enormous genuine number that can’t be stored in four bytes, then we utilize a twofold information type.