Monday, July 8, 2019

C interview questions6

#include <stdio.h>
#include <stdlib.h>

void main ()
{

    int s;
    s=func(2,3);
    printf("%d\n",s);
}
int func(int a,int b,int c)
{
        c=4;
    return (a+b+c);
}
output ::

9

No comments:

Post a Comment

python class topic video