What is the output from this program?
#include <stdio.h>
void do_something(int *thisp, int that)
{
int the_other;
the_other = 5;
that = 2 + the_other;
*thisp = the_other * that;
}
int main(void)
{
int first, second;
first = 1;
second = 2;
do_something(&second, first);
printf("%4d%4d\n", first, second);
return 0;
}
Answers were Sorted based on User's Feedback
what are the difference between ANSI C and Let Us c and Turbo C
enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above
What is enumerated data type in c?
What is a stream water?
In C programming, what command or code can be used to determine if a number of odd or even?
What do you mean by a sequential access file?
What is c basic?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
find the sum of two matrices and WAP for it.
Is it possible to create recycle bin in mobiles?
#define d 10+10 main() { printf("%d",d*d); }
What are advantages and disadvantages of recursive calling ?
12 Answers College School Exams Tests, Evolving Systems, HP, Jyoti Ltd, Sage, Wipro,