Write a c program to demonstrate Type casting in c?
Answer Posted / pinkey
#include<stdio.h>
#include<conio.h>
void main()
{
int a=5,b=4,c;
c=short(a+b);
printf("%d",c);
getch();
}
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
What are the benefits of organizational structure?
What is the use of gets and puts?
What are the 4 types of programming language?
What are structure types in C?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Why is this loop always executing once?
Can you explain the four storage classes in C?
What is an expression?
What does the file stdio.h contain?
What is equivalent to ++i+++j?
Why is c still so popular?
can we have joblib in a proc ?
What is the difference between memcpy and memmove?
What is pass by reference in functions?
will u please send me the placement papers to my mail???????????????????