x

Learn Programming Languages

Main menu

Skip to content
  • Home
  • Categories
    • Arrays
    • Assembly
    • C Language
      • Area Programs
      • Array
        • 1-D Array
        • 2-D Array
      • File Handling
      • Function
      • Graphics
      • If-Else
      • Logical Programs
      • Loops
        • Do-While Loops
        • For Loops
        • Nested For Loops
        • Nested Loops
      • Mathematical Programs in C.
      • Mathematical Programs.
      • Simple Programs.
    • C++
    • D.S Programs
    • New
    • OOP(C++)
    • Overloading
  • Ques & Ans
  • About Us
  • Contact Us

Category Archives: Pointers

Pointers

Write a function that converts a lowercase string to upper case using pointers char phrase[] = ”we love pakistan”; Call of function will be void convertToUpperCase(char *ptr);

Pointers

Use pointer to const to display an array of non constant values of type double ?

Pointers

Use pointer to const to display an array of constant values of type double

Pointers

Take an int array of size 5 with different integer values. Now refer the pointer to array and then use increment and decrement operators on pointer to display contents of array ?

Pointers

Take an int array of size 5 with different integer values. Now refer the pointer to array and then take the address of each element of array and then display the content of that element through pointer ?

New, Pointers

Take an int array of size 5 with different integer values. Now refer the pointer to array and then use pointer to display contents of array (in a loop, using array notation)

Pointers

Take an int array of size 5 with different integer values. Now refer the pointer to array and then use pointer to display contents of array (in a loop, using array notation) ?

Pointers

Take input in three integers and write a swapping function for ‘a’, ‘b’ and ‘c’. Use pointers to swap the values. Resultant ‘a’ should print the value of ‘b’, and ‘b’ prints the value of ‘c’, and ‘c’ prints the value of ‘a’.?

Categories

Join Us On Facebook

Also see these Programs…

  • Write a function that converts a lowercase string to upper case using pointers char phrase[] = ”we love pakistan”; Call of function will be void convertToUpperCase(char *ptr);
  • Use pointer to const to display an array of non constant values of type double ?
  • Use pointer to const to display an array of constant values of type double
  • Take an int array of size 5 with different integer values. Now refer the pointer to array and then use increment and decrement operators on pointer to display contents of array ?
  • Take an int array of size 5 with different integer values. Now refer the pointer to array and then take the address of each element of array and then display the content of that element through pointer ?

Posts viewed in last 24 hours

  • Write a program in assembly language to sort array elements in ascending order. 1 view

Web Traffic

Pages

Pages|Hits |Unique

  • Last 24 hours: 0
  • Last 7 days: 0
  • Last 30 days: 0
  • Online now: 0
© Learn Programming Languages