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
Explain what are reserved words?
What are the standard predefined macros?
What is the difference between abs() and fabs() functions?
What is a memory leak? How to avoid it?
can we declare a function in side the structure?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
Can we declare variable anywhere in c?
what defference between c and c++ ?
print a "hello" word without using printf n puts in c language
Can we access the array using a pointer in c language?
Write code for initializing one dimentional and two dimentional array in a C Program?
5 Answers Deshaw, Edutech, GMD,
11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage