write your own printf in C.
main() { char *s[]={ "knowledge","is","power"}; char **p; p = s; printf("%s ",++*p); printf("%s ",*p++); printf("%s ",++*p); getchar(); return 0; }
can we access static variable in other file?
What are different storage classes?
what is register storage class? Many other standard C questions ?
What is extern?
How to find the maximum rectangle in a histogram, and write C++ to implement it.
In c++ there was a question to find the difference between assignment and copy-constructor
What are static functions in C?
how much space is allocated by the expression " int *a[10]" if size of int is 4 and size of int pointer is 2
What problems might the following macro bring to the application?
#define sq(x) x*x
Is it possible to pass array by value?
Differences between malloc() and calloc()
A C program that prints itself.
How to write code in c to swap bytes.if i have a variable b=0x2255.After swap it should be 0x5522
What is the output of below program?
#include<stdio.h> main() { char *p = "ayqm"; printf("%c",++*(p++)); }
C struct can't have any const or enum varibles, as varible can't be initialized in struct. then Why can C++ class contain const members and enums?
RSS link for this tag
You must log in to post.
Register or log in:
Lost Password?