give an example of type casting by a simple c program
Answer Posted / ola
#include<stdio.h>
void main()
{
float a;
a = (float)15 / 3;
printf("%f\n",a);
}
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
How can I manipulate strings of multibyte characters?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Explain how many levels deep can include files be nested?
What is the difference between scanf and fscanf?
What is NULL pointer?
Explain what are multibyte characters?
What is a pointer value and address in c?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
What is the difference between pure virtual function and virtual function?
what type of questions arrive in interview over c programming?
Ow can I insert or delete a line (or record) in the middle of a file?
Explain the use of bit fieild.
What is variable and explain rules to declare variable in c?
Can we access array using pointer in c language?
List the difference between a "copy constructor" and a "assignment operator"?