5. What kind of sorting is this:
SORT (k,n)
1.[Loop on I Index]
repeat thru step2 for i=1,2,........n-1
2.[For each pass,get small value]
min=i;
repeat for j=i+1 to N do
{
if K[j]
6. Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()
2 60347. Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above
10 1138810. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn",s); } What will happen if it is compiled & run on an ANSI C Compiler? A)It will compile & nothing will be printed when it is executed B)it will compile but not link C)the compiler will generate an error D)the compiler will generate a warning
5 960011. Look at the Code:
#include
12. Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
4 6818void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case
9 16676Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;
18 35862Write a C Program to display the following menu: Menu 1. Display 2. Copy 3. Append 4. Exit Accept the choice (1-4) from the user, and perform the following tasks: Choice 1: Accept a file name from the user and display the file on screen Choice 2: Accept two file names, and copy first file to the second Choice 3: Accept two file names, and append second file to the first file Choice 4: Terminate the program
1 11374Write a program that takes a 5 digit number and calculates 2 power that number and prints it
5 14262Post New Accenture C Interview Questions
What is lookup table in excel?
What are contracts?
Are there any predefined constant provided by the browser with the key code values that can be reused?
What is the use of rswbo052 program?
What aspect of you[r] education prepared you for this role?
what is port in oracle? how is it related to database application.
What language is php based on?
Explain replication factor (rf)?
Does 100% precision mean that our model predicts all the values correctly?
Can I use gmail with windows 10?
Is sql easier than java?
what is varible
What is the difference between Server and Container?
which is the most advanced form of SF6 BREAKER?Can we use other gases to quench the arc?
how to Create reports in SD module such as sales order report, which covers all organization levels, delivery status, invoice status, shipping details and partner function details. The data will be extracted from VBAP, VBPA, VBAK, VBUP, VBFA, KNA1, LIPS, VBRP, MARA, VBEP and KONV tables. plz mention the detail coding Tahnks, Rahul