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 |
What is the main difference between calloc () and malloc ()?
array contains zeros and ones as elements.we need to bring zeros one side and one other side in single parse. ex:a[]={0,0,1,0,1,1,0,0} o/p={0,0,0,0,0,1,1,1}
What does 1f stand for?
What are the rules for identifiers in c?
Are pointers integer?
what is the use of macro program
disadvantages of realloc ?
How can you be sure that a program follows the ANSI C standard?
create an SINGLE LINKED LISTS and reverse the data in the lists completely
How can you restore a redirected standard stream?
how to print 2-D array using a single for loop?
2 Answers Mind Tree, TCS, Value Labs,
the maximum width of a c variable name can be a) 6 characters b) 8 characters c) 10 characters d) 20 characters