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
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
What does d mean?
What are the general description for loop statement and available loop types in c?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Is python a c language?
What is the purpose of main( ) in c language?
what are bit fields? What is the use of bit fields in a structure declaration?
write a program to print data of 5 five students with structures?
How variables are declared in c?
What is 2 d array in c?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What is structure pointer in c?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
Can the “if” function be used in comparing strings?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???