User Profile
Collapse
-
Calling the function depend up on the macro if the macro is integer you pass the decimal value to the function .... -
-
-
The errors are in printf and scanf check it out and for all the program main function should be there ...
Code:#include<stdio.h> int main() { int my_age; /* users age */ printf("wlcome to lab03, we will learn how to compile today \n"); printf("Enter your age: "); scanf("%d",&my_age); Printf("your age is %d",my_age); return 0;
Leave a comment:
-
I think you can use int data type to store both integer and character data type...
Eg:int data = 'A';Leave a comment:
-
It is not possible using c ...we can do this with embedded c ...Leave a comment:
-
-
How to declare this function...
Declare a pointer to a function which takes array of pointer to a function as an argument and return the pointer to a function.....
how to declare this.... -
16 is correct for int it would take 4 bytes and for char 4 bytes(due to structure padding) and the pointer 4 bytes so 4+4+4+4=16 ....Leave a comment:
-
As per i know it is impossible ....for java there is the reverse engin ...for c there is no reverse engin as per my knowledge...Leave a comment:
-
What would be the result...
Hi friends at present i am not having any compiler so please can any one conform the result of this program
what would be the size of this structure
Code:struct str { int data; struct str *pstr; chap ch; int data1; };
No activity results to display
Show More
Leave a comment: