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;
}
Answer Posted / kruthi
0001 35
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is static identifier?
Explain b+ tree?
Is it acceptable to declare/define a variable in a c header?
What is sizeof int?
write a program to display all prime numbers
What are formal parameters?
How to implement a packet in C
Is this program statement valid? INT = 10.50;
What is meant by int main ()?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
Explain indirection?
Explain the difference between exit() and _exit() function?
What is use of #include in c?
Apart from dennis ritchie who the other person who contributed in design of c language.
Disadvantages of C language.