Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Accenture C Interview Questions
Questions Answers Views Company eMail

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

5 6375

what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above

3 10122

study the code: #include void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above

15 16731

Which of the following are valid "include" formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include "file.h" D)#include and #include "file.h"

15 17045

how to sort two array of characters and make a new array of characters.

1 4943

what is difference between ++(*p) and (*p)++

17 24548

what is difference between array of characters and string

18 43368

char ch=10;printf("%d",ch);what is the output

14 22353

char ch="{'H','I',0};printf("%s",ch);what is output

9 10970

which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma

16 20674

what will be the output: main(){char ch;int a=10;printf("%d",ch);}

36 27397

Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All

3 7605

2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value

3 5341

3. When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these

1722

4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above

6 11586

Post New Accenture C Interview Questions


Accenture C Interview Questions


Un-Answered Questions

57. Calculate the volume of a truck loaded with stone chips whose data are as follows– 5 Top Length - 13-9, 13-10, 13-09 Bottom Length - 13-11, 13-10.5, 13-10 Top width - 8-7.5, 8-8, 8-7 Bottom width - 8-7, 8-8, 8-7.5 Depth - 2-0, 1-11.5, 1-10, 1-11, 1 -10.5, 1-11.75, 1-11

9053


What is sensitivity in vibration probes..?

1042


What is the difference between a tree map and heat map?

228


write test case for linked in sign up page ?

1899


What is mysql data directory?

536






What sql functionality does drill support?

5


how many view the tally backup erp9 after the tally backup in tally

1437


Describe HTML Entities with example?

498


Is excel a relational database?

303


What is the output for the following code?

471


An active element is one which a. Supplies energy b. Absorbs energy c. Supplies energy and convert energy from one form to another

1654


How to add javascript remoting to a vf page?

237


What is vgda?

3


I executed one job and I forget to save the final JCL. But took an XDC from SPOOL. Now I want to recover the JCL from XDC dataset. Is there any process to do this?. (Manually it takes a lot of time). Is there

2682


Name databases supported by laravel.

530