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 8367what 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 11494study the code:
#include
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
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 89452. 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 66353. 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
21764.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 13575Post New Accenture C Interview Questions
How to create Users in hadoop HDFS?
Explain a few methods of overloading best practices in java?
When is finally block not called?
What are the screen elements.
cgl2012 tier1 mein 62.50 marks they or mera naam TA wali list mein tha but mainey Auditor ko 1st prefernce choose kia tha tier2 mein maths mein 142 or english mein 104.50 marks aaye but fir bhi mera naam only list4 TA main tha or mujhey DEST typing test dena parha i want to know that agar main TA k liye typing test pass ahi kar pata to kya mujhey koi bhi post milegi. pls anybody knows tell me.
During the planning phase of automation, what points are to be considered on priority?
I heard that you have to include stdio.h before calling printf. Why?
You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?
What things make you angry? How do you handle yourself in such a situation?
Where did you travelled last time
Thermal withstand capability under full short circuit conditions, in terms of number of times of occurrence of short circuit and corresponding anticipated percentage reduction in transformer life.
How to backup active directory?
Is wordpress a cms?
How do you create a questionnaire in word 2013?
Give list of building construction equipment & explain about them in brief. How much is output of JCB, POCLAIN, Steel cutting & bending machine, material hoist, tower crane?