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 / hasan kayman
###1##35 (# sign means space)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is local and global variable in c?
Can we use any name in place of argv and argc as command line arguments?
How can I trap or ignore keyboard interrupts like control-c?
What does == mean in texting?
Why pointers are used in c?
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What does 4d mean in c?
Is c procedural or functional?
Is c programming hard?
When is a void pointer used?
What are two dimensional arrays alternatively called as?
Can a program have two main functions?
What is a volatile keyword in c?
a program that can input number of records and can view it again the record