Category: A ll Codes

19
May
2017

Return More Than one Value in a Function

In function we can’t retun more than one value with return keyword. In this case we need pointer…

19
May
2017

How and When to use Pointer in C programming

here in this code the swap function will not return the value as swapped but it’s working…

19
May
2017

Char Pointer and Int Pointer

code: #include<stdio.h> int main() { int x=300; char *k; int *p; k=(char*)&x; //here it is 1 byte…

19
May
2017

Pointer More More Clear

/* Zaki Live pointer important topic */ #include<stdio.h> int main() { int *p,*q,**k; int x=100; p=&x; //p…

18
May
2017

Lowercase to Uppercase with array

code: #include<stdio.h> char converter() { char ch[100]; gets(ch); int t,l,i; for(i=0; ch[i]!=’\0′; i++); //printf(“%d”,i); for(t=0; t<i; t++)…

18
May
2017

Pointer More Clear

code: #include<stdio.h> int main() { int var=5; int* p; //p is integer pointer which is addresss of…