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
Is c call by value?
in linking some of os executables are linking name some of them
Are pointers integers in c?
how to execute a program using if else condition and the output should enter number and the number is odd only...
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Why use int main instead of void main?
What is boolean in c?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is f'n in math?
How can I change the size of the dynamically allocated array?
Does c have class?
What do the functions atoi(), itoa() and gcvt() do?
write a programming in c to find the sum of all elements in an array through function.
What does dm mean sexually?
#include