How can my program discover the complete pathname to the executable from which it was invoked?
No Answer is Posted For this Question
Be the First to Post Answer
wat is the output int main() { char s1[]="Hello"; char s2[]="Hello"; if(s1==s2) printf("Same"); else printf("Diff"); }
Explain what are multidimensional arrays?
How can you convert integers to binary or hexadecimal?
Program to find larger of the two numbers without using if-else,while,for,switch
What is the difference b/w Structure & Class?
Is it possible to initialize a variable at the time it was declared?
what is the syallabus of computer science students in group- 1?
What is the difference function call by value & function call by reference?
why in C,C++'s int size is 2 byte and .net(c#) int Size is 4 byte?
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
Explain how do you generate random numbers in c?