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 |
find the size of structure without using the size of function
Describe how arrays can be passed to a user defined function
What is the use of pointers in C?
0 Answers Impetus, Motorola, Tavant Technologies, Virtusa,
Define Array of pointers.
How do you print an address?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
What is the difference between malloc calloc and realloc in c?
What are static variables, and where are they stored?
write a C and C++ programme to implement the A,bubble sort B,quick sort C,insertion sort D,sequential search E,binary search
Why is c called a mid-level programming language?
Is c compiled or interpreted?
What is Full Form of C and Why We use C