what will be the out put.
#include<stdio.h>
void main()
{
printf("Output:");
printf(1+"vikashpatel");
}//output: ikashpatel
Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A
Write a program to implement queue.
Explain the ternary tree?
what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175
consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
Do string constants represent numerical values?
what is the diff b/w static and non static variables in C. Give some examples plz.
Define VARIABLE?
Is struct oop?