Search

“printf”

More pages from the web

6–10 of 20
  • codedownloads.com

    CodeDownloads

    Subscribe to CodeDownloads RSS About Us Lets tech think and share its spirit Programming Puzzles -C Language [PP-C4] 04 23 11' Written by admin 0 Comments 1] int i=10; main() { extern int i; { int i=20; { const volatile unsigned i=30; printf(?%d?, i); } printf(?%d?, i); } printf(?%d?, i); } Answer: 30, 20, 10 Explanation: ?{? introduces new block and thus new scope. In the innermost block i is declared as, const volatile unsigned which is a valid

  • thecodecracker.com

    The Code Cracker | Previously known as c-pgms.blogspot.com

    The Code Cracker Previously known as c-pgms.blogspot.com Skip to content Home C Programming Shell Programming C++ Blog ? Older posts C Program for Bubble Sort Posted on June 20, 2010 by Jishnu // Program of sorting using bubble sort method #include #define MAX 20 main() Sort { int arr[MAX], i, j, k, temp, n, xchanges; printf("Enter the number of elements : "); scanf("%d", &n); for (i = 0; i < n; i++) { printf("Enter element %d : ", i

  • vasistavarsity.com

    vasistavarsity.com

    Home About Hardware Programming C Home About Hardware Programming C Recent Popular Unanswered Random 0 What is C language ? - vinuthan 0 void main() { float a= 0.7; if (a < 0.7) printf(?c?); else printf(?c++?); } Output of the above program is c. Why? Whereas the same program with 0.8 instead of 0.7 gives c++ as the output? Why explain? - vinuthan 0 hardware - vinuthan 1 Hello world! - vinuthan Categories C Hardware Programming Home About Hardware Programming C Designed

  • cprogramming-satyam.blogspot.com

    cprogrammingtutorial

    cprogrammingtutorial search here nested structure #include #include int main() { struct time { int second; int hour; int minute; }; struct car { int carno; struct time st; struct time bf; }; struct car b1; printf("enter the carno, starting time, reching time"); scanf("%d", &b1.carno); scanf("%d%d%d", &b1.st.hour, &b1.st.minute, &b1.st.second); scanf("%d%d%d", &b1.bf.hour, &b1.bf.minute, &b1.bf.second); printf("\n\tcarno.\tstrting time\treching

  • cprogramsworld.blogspot.com

    C PROGRAMS WORLD

    C PROGRAMS WORLD A Place Of Collection of Own Created C Programs In User Understandable Steps.. Friday, February', 2010 C Program To Find Largest Number In An Array Using Function /* C Program To Find Largest Number In An Array Using Function */ #include