MSK Technologies

Home
Practice Programs
Java Programs Python Programs Java Quiz
Pages
Python Java Material PLSQL Material
Search A Job

Write a C-program to print Pre Decrement operation?

  1. Home
  2. C Language Programs

Write a C-program to print Pre Decrement operation?

Write a C-program to print Pre Decrement operation


#include <stdio.h>
                                                                         
int main() {
    int x;
    printf("Enter x value");
    scanf("%d",&x);
    printf("The pre decrement value is %d",--x);

    return 0;
}
                                            

Output:

Enter x value 24
The pre decrement value is 23




More Programs


5 . Write a C-program to print Pre Decrement operation
6 . Write a C-program to print Post Decrement operation
7 . Write a C-program to print addition of two numbes
8 . Write a C-program to print subtraction of two numbes
9 . Write a C-program to print multiplication of two numbes
10 . Write a C-program to print division of two numbes
11 . Write a C-program to print modular division of two numbes
12 . Write a C-program to print swaping of two numbers with using third variable
13 . Write a C-program to print swaping of two numbers without using third variable
14 . Write a C-program to print relation of two numbers
15 . Write a C-program to print logical operators program using &&, || ,!



Apply For The Job

Apply For Job

Java Material

Python Material

PLSQL Material

.Net Material

Java Practice Programs

400 Java Programs

Java Practice Programs

Write a java Program to print Armstrong number between 1 to 1000

Write a Java program to print the ascii value of a given character

Write a Java Program to Calculate electricity bill

Write a Java program to add two numbers without using any arithmetic operators

Write a java program to Find the index of the smallest number in an array

Python Practice Programs

Write a Python program to convert kilometers to miles.

Write a python program to print most frequent letter in a string

Write a Python Program to find the factorial of a number using recursion

Write a python program to display list of numbers and we want to return all the numbers from the list that are divisible by 2 and remove duplicates at the same time.

Write a Python Program to Display the multiplication Table.

Java Quiz

Java Quiz - 15

Java Quiz - 18

Java Quiz - 8

Java Quiz - 19

Java Quiz - 5

Courses
Java Python PLSQL .Net ADO.Net About Us
Quick Links
Daily Use English Sentences Daily General Knowledge General Knowledge Latest Update Inventions and Inventors జనరల్ నాలెడ్జ్ General Knowledge Spoken English Spoken Hindi GK Hindi Telugu Facts Unknown Facts Psychology Facts Motivation Quotes విటమిన్ - సి,డి,ఇ,కె Android
Spiritual
రాధాకృష్ణ భగవద్గీత Motivation Quotes Slokas Talapatra Nidhi ఆధ్యాత్మిక భక్తి ప్రపంచం Sadhguru Sai Motivation Quotes గౌతమ బుద్ధుడు Bhagavad Gita Quotes
Newsletter

Dolor amet sit justo amet elitr clita ipsum elitr est.

© sateeshm, All Right Reserved. Designed By sateeshm
Home Help FQAs