6)What would be the output?
main()
{
int u=1,v=3;
pf("%d%d",u,v);
funct1(&u,&v);
pf("%d%d\n",u,v);
}
void funct1(int *pu, int *pv)
{
*pu=0;
*pv=0;
return;
}
a)1 3 1 3
b)1 3 1 1
c)1 3 0 0
d)1 1 1 1
e) 3 1 3 1
Answer Posted / ramlal bishnoi
b)1 3 1 1
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
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.
What is static identifier?
How macro execution is faster than function ?
What are all different types of pointers in c?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
How to explain the final year project as a fresher please answer with sample project
how should functions be apportioned among source files?
What is structure in c definition?
What is data type long in c?
What is the difference between scanf and fscanf?
What is static volatile in c?
Write the Program to reverse a string using pointers.
Which is better oop or procedural?
Is c# a good language?
What is void c?