give an example of type casting by a simple c program
Answers were Sorted based on User's Feedback
Answer / guest
[code]
#include<stdio.h>
main()
{
float a;
a = (float)15 / 3;
printf("%f\n",a);
}
[/code]
| Is This Answer Correct ? | 7 Yes | 4 No |
Answer / ola
#include<stdio.h>
void main()
{
float a;
a = (float)15 / 3;
printf("%f\n",a);
}
| Is This Answer Correct ? | 4 Yes | 4 No |
What is the use of a static variable in c?
What is bss in c?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is array within structure?
main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }
i want to job in your company, so how it will be possible.
what is difference between array,strutter,union and pointers
3 Answers CTS, Lovely Professional University, Mannar Company,
How to print India by nested loop? I IN IND INDI INDIA
What are the uses of pre-processor directives?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
Which is better between malloc and calloc?
what is the flow of execution in cprogram? ex:printf();,scanf();