---
title: "What is difference between let and var declaration in swift?"  
description: "What is difference between let and var declaration in swift?"  
author: "Jayden Bell"  
published: 2017-01-09  
updated: 2020-09-20  
canonical: https://www.mindstick.com/interview/23156/what-is-difference-between-let-and-var-declaration-in-swift  
category: "ios"  
tags: ["ios", "iphone sdk", "swift"]  
reading_time: 1 minute  

---

# What is difference between let and var declaration in swift?

**let** keyword is used to define a constant and var keyword is used to define a variable .

## Answers

### Answer by Jayden Bell

**let** keyword is used to define a constant and var keyword is used to define a variable .


---

Original Source: https://www.mindstick.com/interview/23156/what-is-difference-between-let-and-var-declaration-in-swift

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
