Is c call by value?
No Answer is Posted For this Question
Be the First to Post Answer
#include<stdio.h> #include<conio.h> # define swap(a,b) temp=a; a=b; b=temp; void main( ) { int i, j, temp; i=5; j=10; temp=0; if( i > j) swap( i, j ); printf( "%d %d %d", i, j, temp); }
different between overloading and overriding
What is a substring in c?
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
Write a program to print distinct words in an input along with their count in input in decreasing order of their count..
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What will be the result of the following program? char*g() { static char x[1024]; return x; } main() { char*g1="First String"; strcpy(g(),g1); g1=g(); strcpy(g1,"Second String"); printf("Answer is:%s", g()); } (A) Answer is: First String (B) Answer is: Second String (C) Run time Error/Core Dump (D) None of these
what is ans for this scanf(%%d",c);
what is the role you expect in software industry?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
I have an array of 100 elements, each of which is a random integer. I want to know which of the elements: a) are multiples of 2 b) are multiples of 2 AND 5 c) have a remainder of 3 when divided by 7
What are the functions to open and close file in c language?