Skip to content

NTSEQ:- A IT Infrastructure and Cyber Security Blogs

Category: C Programming

How To Check Word or String is Palindrome or not ?

We can check given word is palindrome or not through below code:-   #include<stdio.h> #include<string.h> main( ) { char str[10];

Continue reading

Write A program in C to copy one string into another String ?

/ ** Write A program in C to copy one string into another String **/ void stringCpy(char* s1,char* s2); int

Continue reading

C Program to Check Armstrong Number

/* write A C Program to Find Armstrong Number */ #include <stdio.h> int main() { int num, sum=0, rem=0,temp; printf(“Enter

Continue reading

program to check number is Palindrome or not in C?

#include <stdio.h> int main() { int num, rev=0, rem=0,temp; printf(“Enter an integer number: “); scanf(“%d”, &num); temp=num; while(temp!=0) { rem=temp%10;

Continue reading

Write a program to swap two numbers without using third variable?

#include <stdio.h> int main() { int i,j,k; printf(” Enter value of i “); scanf(“%d”,&i); printf(” Enter value of j ?

Continue reading

Write A program to swap two bits of a byte in C

#include <stdio.h> int main() { unsigned char ndata=0x0A; binary of 0x0A is : 0000 1010 ndata^=(1<<1); ndata^=(1<<2); // data will

Continue reading

Write a program in C program to find factorial of a number

/**  program to find factorial of a number**/ #include <stdio.h> int main() { int number,k; long int fact; printf(“Enter an

Continue reading

How to generate random numbers in C programming?

we can generate random number through rand() function. #include<stdio.h> #include<stdlib.h> int main() { int a; int b; for(a=1;a<11;a++) { b=rand();

Continue reading

What are the modifiers available in C programming?

There are 5 modifiers available in C programming and these are follows:- Short Long Signed Unsigned long long

Continue reading

What are the storage class specifiers in C?

There are four different Types of Storage classes in C :- auto, register, static, extern

Continue reading
  • C Programming
  • C++
  • Cyber Security
  • Interview FAQ
  • Java
  • Linux
  • MySQL
  • Netseq.com
  • Oracle
  • PHP
  • Python
  • SQL
  • SQL Server -DBA
  • Active Directory Security: Strategies to Safeguard Your Organization
  • PowerShell scripts for Active Directory (AD)
  • Top 50 Essential Active Directory PowerShell Commands and Administrative Tools
  • Critical Windows Event ID’s to SOC Team Must Monitor
  • Top Cybersecurity Threats in 2025 and How to Protect Yourself
WordPress Theme: Wellington by ThemeZee.