Thursday 7 February 2008

Solution of good question C operator question



Solution of good
question C operator question



Solution
section


(1)
output: c
explanation : 


0.7f is float constant. Its binary value is written in 32 bit.


0.7 is double constant (default). Its binary value is written in 64 bit.


0.7L is long double constant. Its binary value is written in 80 bit.


binary value of 0.7=(0.1011 0011 0011 0011 0011 0011 0011 0011 0011 0011 0011)


Now,

Wednesday 6 February 2008

C LANGUAGE QUESTIONS WITH SOLUTION




.fieldsetOut{
background:#1E90FF;
padding:0px 1px 0px 1px;
font-family: "courier new"
}
.fieldsetIn{
background:white;
margin:0px 1px 0px 1px;
padding:0px 1px 0px 1px;
border: 0px 0px 0px 0px

}
.option{
color:black;
font-size:20px;
font-weight:900
}
.submit{

Sunday 3 February 2008

System Level programming by c program



Important structure and union:




The header file dos.h defines two important structures and one union. They are:

1. struct BYTEREGS {

unsigned char al, ah, bl, bh;

unsigned char cl, ch, dl, dh;

   };



2. struct WORDREGS {

unsigned int ax, bx, cx, dx;

unsigned int si, di, cflag, flags;

   };



3. union REGS {

struct WORDREGS x;

struct BYTEREGS h;

  };




Note: Try to remember

Saturday 2 February 2008

Memory map questions with solution in c programming language

1.Good questions on Memory mapknowledge before staring c programming language2. List the five c compiler?3. Describe turbo c compiler?4. What is hexadecimal number system?5. What will be address range which can be represented in 20 bit?6. What is difference between TSR and TSO program?7. Why there are so many c compilers?8. What is difference between .com program and .exe program?9. How many