What will be the outcome of the following conditional statement if the value of variable s is 10?
No Answer is Posted For this Question
Be the First to Post Answer
explain what are pointers?
How to calculate sum
Can U write a C-program to print the size of a data type without using the sizeof() operator? Explain how it works inside ?
what is the use of pointers
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What's the difference between constant char *p and char * constant p?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?
What is ponter?
Can we declare a function inside a function in c?
What 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
Differentiate between the = symbol and == symbol?