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 difference between malloc() and realloc()?
In C, What is the #line used for?
ABCDCBA ABC CBA AB BA A A
Differentiate between the expression “++a” and “a++”?
What is meant by gets in c?
what is c programing
List some of the static data structures in C?
What is alloca() and why is its use discouraged?
What is wrong with this declaration?
Give a fast way to multiply a number by 7
15 Answers Accenture, Aricent, Microsoft,
how to make program without <> in libray.
What is uint8 in c?