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 |
Which one would you prefer - a macro or a function?
hat is a pointer?
What does the characters “r” and “w” mean when writing programs that will make use of files?
What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }
how to compare two strings without using strcmp() function??
Write a program to compare two strings without using the strcmp() function
42 Answers Accenture, Arba Minch University,
What is the most efficient way to count the number of bits which are set in a value?
how write a addtion of two single dimensional array using of pointer in c language?
being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?
What is an lvalue?
What is a MAC Address?
how logic is used