convert 0.9375 to binary
Answers were Sorted based on User's Feedback
Answer / uthiravel
0.9375*2=1.875=>1
0.875*2 =1.75 =>1
0.75*2 =1.5 =>1
0.5*2 =1.0 =>1
0.9375=0.1111(Top to Bottom)
| Is This Answer Correct ? | 76 Yes | 10 No |
Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
What are macros in C?
How do we print only part of a string in c?
Are bit fields portable?
what is ans for this scanf(%%d",c);
wht is the difference between KPO and BPO ?
2 Answers Accenture, BPO, HCK, HCL, Infosys,
Describe explain how arrays can be passed to a user defined function
How to use c/c++ code in JAVA
10 Answers CDAC, IBM, Satyam, Scope International,
What is a constant and types of constants in c?
What are operators in c?
What does volatile do?
void main() { //char ch; unsigned char ch; clrscr(); for(ch =0;ch<= 127; ch++) printf(" %c= %d \t ", ch, ch); } output?