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
List out few of the applications that make use of Multilinked Structures?
Implement bit Array in C.
Can you please explain the difference between strcpy() and memcpy() function?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
Tell me what are bitwise shift operators?
Where can I get an ansi-compatible lint?
How can I read/write structures from/to data files?
What are the functions to open and close the file in c language?
Which built-in library function can be used to match a patter from the string?
How can you restore a redirected standard stream?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Explain what is the benefit of using an enum rather than a #define constant?
a c code by using memory allocation for add ,multiply of sprase matrixes
Is c++ based on c?
Explain bitwise shift operators?