How can I find the day of the week given the date?
No Answer is Posted For this Question
Be the First to Post Answer
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
What are the different types of objects used in c?
How do you do dynamic memory allocation in C applications?
What is the difference between NULL and NUL?
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
How can this be legal c?
union { char ch[10]; short s; }test; test.s = 0xabcd; main() { printf("%d",ch[10]); }
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
What 'lex' does?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
What are the types of data types and explain?
Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d