Declare an array of N pointers to functions returning
pointers to functions returning pointers to characters?
main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }
write a origram swaoing valu without 3rd variable
Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false
print numbers till we want without using loops or condition statements like specifically(for,do while, while swiches, if etc)!
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
#include"math.h" void main() { printf("Hi everybody"); } if <stdio.h> will be included then this program will must compile, but as we know that when we include a header file in "" then any system defined function find its defination from all the directrives. So is this code of segment will compile? If no then why?
String reverse with time complexity of n/2 with out using temporary variable.
#include<stdio.h> main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s; printf("%d",s->x); printf("%s",s->name); }
How to reverse a String without using C functions ?
33 Answers Matrix, TCS, Wipro,
Link list in reverse order.
String copy logic in one line.
void main() { int i; char a[]="\0"; if(printf("%s\n",a)) printf("Ok here \n"); else printf("Forget it\n"); }