compare array with pointer?
Can the “if” function be used in comparing strings?
#include<stdio.h> main(0 { printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3)); }
hi send me sample aptitude papers of cts?
two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.
How can I call a function with an argument list built up at run time?
What are the parts of c program?
what will the following program do? void main() { int i; char a[]="String"; char *p="New Sring"; char *Temp; Temp=a; a=malloc(strlen(p) + 1); strcpy(a,p); //Line no:9// p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line no 15// a) Swap contents of p & a and print:(New string, string) b) Generate compilation error in line number 8 c) Generate compilation error in line number 5 d) Generate compilation error in line number 7 e) Generate compilation error in line number 1
How do you define structure?
post new interiew question and aptitude test papers
what is difference between c and c++
Explain is it valid to address one element beyond the end of an array?
Write a c pgm for leap year
11 Answers College School Exams Tests, IBM, TCS,