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 will you write a code for accessing the length of an array without assigning it to another variable?
List the different types of c tokens?
Can we assign string to char pointer?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What is the difference between procedural and functional programming?
Is that possible to add pointers to each other?
Give the rules for variable declaration?
Write a program to check armstrong number in c?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
How many types of arrays are there in c?
What are the types of type qualifiers in c?
When a c file is executed there are many files that are automatically opened what are they files?
Are enumerations really portable?
Where define directive used?