Programming Languages (22694)
Scripts (9280)
Networking (2571)
Microsoft Related (21566)
Databases (16615)
Operating Systems (12022)
Testing (17995)
Servers (1375)
MainFrame (6620)
Java Related (15396)
Middleware (526)
Web Related (7038)
Data Warehouse (8975)
HR Questions (2698)
Software Design (1923)
Debugging (73)
Version Control (464)
Editors (229)
Telecom (1164)
ERP CRM (26424)
Embedded Systems (1221)
Client Server (333)
Artificial Intelligence (3276)
Cryptography (718)
EAI (466)
Multimedia (674)
Software Development Life Cycle (303)
Image Processing (170)
Mobile OS (3116)
Security (125)
Big Data (4325)
Cloud Computing (1790)
Automation (2674)
Internet of Things (IoT) (299)
Apache Related (370)
Frameworks Tools (1329)
Oracle Related (0) The very first process created by the kernal that runs till the kernal process is haltes is
IBM,
6 18148Result of the following program is main() { int i=0; for(i=0;i<20;i++) { switch(i) case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break;} printf("%d,",i); } } a)0,5,9,13,17 b)5,9,13,17 c)12,17,22 d)16,21 e)syntax error
IBM,
8 30516What is the result main() { char c=-64; int i=-32 unsigned int u =-16; if(c>i){ printf("pass1,"); if(c
IBM,
9 21206In the process table entry for the kernel process, the process id value is a) 0 b) 1 c) 2 d) 255 e) it does not have a process table entry
4 23411Which of the following API is used to hide a window a) ShowWindow b) EnableWindow c) MoveWindow d) SetWindowPlacement e)None of the above
IBM,
2 20806what will the following program do? void main() { int i; char a[]="String"; char *p="New Sring"; char *Temp; Temp=a; a=malloc(strlen(p) + 1); strcpy(a,p); //Line no:9// p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line no 15// a) Swap contents of p & a and print:(New string, string) b) Generate compilation error in line number 8 c) Generate compilation error in line number 5 d) Generate compilation error in line number 7 e) Generate compilation error in line number 1
IBM,
1 8553In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT
IBM,
1 8026what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these
IBM,
2 11654What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these
IBM,
3 9063What will be the result of the following program? main() { char p[]="String"; int x=0; if(p=="String") { printf("Pass 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } else { printf("Fail 1"); if(p[sizeof(p)-2]=='g') printf("Pass 2"); else printf("Fail 2"); } } a) Pass 1, Pass 2 b) Fail 1, Fail 2 c) Pass 1, Fail 2 d) Fail 1, Pass 2 e) syntax error during compilation
IBM,
10 15089The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above
IBM,
4 15241Suppose by navigation I went from 1 st page to 5 page ,so Write a generic script for coming from any page to the 1st page and by executing where the page may be it will come to 1st page
1 6188hi every body, I am new to testing? I completed MCA. I am trying jobs on Testing.Plz send me the real time questions on testing like WinRunner, QTP, TD and Manual Testing. Advance thanks for all (id is rashee_1985@yahoo.co.in)
2 4469What is Integration between SD and MM : SD and FICO ? Can any body give me this is ?
Cap Gemini, HCL, IBM,
11 77233
You want to backup sapscript layoutsets. How will you do it?
Does Python support strongly for regular expressions?
Which model components are supported by Struts?
What is search console and how to link with google analytics?
Tell me which class make a set of buttons appear vertically stacked rather than horizontally?
What needs to be done in order to set android development environment where eclipse ide is to be used?
What is difference between objective c and c?
how can we know the count/number of elements of an array? : Sql dba
What is Joomla Components?
Is tensorflow open source?
What is a jsp and what is it used for?
What is posix in linux?
What is full form of rdd?
What is the default provider in ado.net?
What is the procedure to know whether the customer is one-time or regular?