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 / srikanth karnati
1,35
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are shell structures used for?
What does 2n 4c mean?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
what is the significance of static storage class specifier?
What is break in c?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
What is a function in c?
What is variables in c?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is dangling pointer in c?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
What does typeof return in c?
Write a program to check prime number in c programming?
Why static is used in c?