What will be the result of the following program? char*g() { static char x[1024]; return x; } main() { char*g1="First String"; strcpy(g(),g1); g1=g(); strcpy(g1,"Second String"); printf("Answer is:%s", g()); } (A) Answer is: First String (B) Answer is: Second String (C) Run time Error/Core Dump (D) None of these
2 8235. Consider the following program main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is (A) 1 (B) 3 (C) -6 (D) none
9 22660Given a piece of code int x[10]; int *ab; ab=x; To access the 6th element of the array which of the following is incorrect? (A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} .
2 9233What is the o/p of the follow pgm?
#include
suppose you want to use a trigger in existing standard apps form and its not available in personalization neither in custom.pll. How you will address the issue ?
3 8000do u print this format '(((())))'. This brackets is based on user input like 4 or 5 or 6,without using any loop's?
1 3960write a program that prints a pascal triangle based on the user input(like how many stages) in an efficient time and optimized code?
3 7094write script for finding number of broken links in web page? kindly please answer my question.
3 17519When the Internal Requisition will get generate if I define an OSP operation in sequence 30. 10 & 20 will be other than OSP operations.
2 10447Post New Oracle Interview Questions
How do you define data block size?
Where can I find chkdsk results in windows 7?
What are the four characteristics of Big Data?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
What are the library functions in java?
Draw a complete P&ID of a flow suction tank indicating all control & protection equipment. Indicate all its inlets and outlets. Explain the controls for this system
What a task tracker is in hadoop?
How to handle 'loading chunk failed' error in angularjs application?
Why Ac Systems Are Preferred Over Dc Systems?
Can you explicitly call a destructor?
What do you know about sas and what we do? : sas-grid-administration
When we create the dialog run method is needed? If not how to run the method?
What is api level, codename of android 4.1 – 4.3?
Why water bubbles when D.C. Current is passed through it? Why not when A.C. Current is passed?
How do I know if mysql is running on windows?